1. Free tools
  2. Image Contrast Checker

FREE ACCESSIBILITY TOOL

Text on image contrast checker

Check whether text stays readable over a photo or hero image. Upload an image, drag the text box where your caption or heading sits, and see the worst-case WCAG contrast under it. Runs in your browser.

  • Samples real pixels
  • Worst-case contrast
  • Nothing uploaded

Setup

Drop an image here, or click to choose
30

Drag the box to where your real text sits. The checker samples the pixels it covers.

Your image is read and sampled in your browser. Nothing is uploaded.

Result

Upload an image to begin. A sample caption image works well.

HOW IT WORKS

Check text on an image in three steps

Text over a photo can pass contrast in one spot and fail in another, because the background varies. This checker samples the real pixels under your text and reports the worst case, which is what WCAG cares about.

  1. Upload the image

    Drop in the hero or banner image your text sits on. It is drawn to a canvas locally.

  2. Place the text

    Set the text color and size, then drag and resize the box to match where your caption or heading appears.

  3. Read the worst case

    See the minimum and average contrast under the box, and whether it passes AA for that text size.

WHY WORST CASE MATTERS

The darkest pixel decides readability

White text over a sky looks fine until it crosses a cloud. WCAG asks that text meet the ratio everywhere it appears, so the lowest-contrast pixel under your text is the one that matters, not the average.

Text sizeAA minimumAAA minimum
Normal (under 24px)4.5 : 17 : 1
Large (24px, or 18.66px bold)3 : 14.5 : 1

Tip: a scrim, gradient or text shadow raises the worst-case contrast over a busy image.

WHAT YOU GET

Measured, not guessed

REAL PIXELS

Samples the image

Reads the actual pixels under your text box with the canvas API, not a single flat color.

WORST CASE

Minimum contrast

Reports the lowest contrast ratio in the region, the one that determines whether the text passes.

INTERACTIVE

Drag and resize

Move the box to match your real layout and watch the verdict update as you go.

SIZE AWARE

AA by text size

Uses the 3:1 large-text threshold or 4.5:1 normal-text threshold based on your chosen size and weight.

COVERAGE

Percent passing

Shows the share of the region that passes, so you know if it is a small hotspot or a real problem.

PRIVATE

Nothing uploaded

Everything runs locally with an object URL. Your image never leaves the browser.

ONE IMAGE VS YOUR WHOLE SITE

Check one hero here. Audit your site with SiteAuditLint.

This tool checks text on one image you provide. The desktop app crawls your pages and flags the broader contrast, alt text and structure issues that affect accessibility.

TaskThis free toolSiteAuditLint app
Check text contrast over an imageYesSpecialized
Find low-contrast text across pagesNoYes
Flag missing image alt textNoYes
Audit a whole site at onceNoYes

For solid color pairs, use the color contrast checker.

FAQ

Text on image questions

How does it measure contrast over an image?

It draws your image to a canvas, reads the pixels under the text box, and computes the WCAG contrast ratio of each pixel against your text color. It reports the minimum, so you see the hardest spot to read.

Why is the worst case so much lower than the average?

Photos vary. Text can sit over a dark area and a light area at once, and the low-contrast part fails even if most of the region is fine. WCAG requires the text to be readable everywhere, so the minimum is the number to trust.

How do I fix failing text on an image?

Add a semi-transparent scrim or gradient behind the text, use a text shadow, reposition the text to a calmer part of the image, or switch the text color. Then re-check the worst-case contrast.

Does the text size matter?

Yes. Large text (24px, or 18.66px bold) only needs 3:1 for AA, while smaller text needs 4.5:1. Set the size and weight so the verdict uses the right threshold.

Is my image uploaded?

No. The image is loaded with a local object URL and sampled in your browser. Nothing is sent to a server, so you can check unpublished designs safely.

What image formats work?

Any format your browser can display, including JPG, PNG, WebP and GIF. For transparent PNGs, the checker samples whatever shows through, so place it over its real background first.

Is this tool free?

Yes, free with no signup, and it runs entirely in your browser. It is one of a set of free accessibility and SEO tools from SiteAuditLint.

Check one image here. Find every contrast issue with SiteAuditLint.

Hero text is only one place contrast fails. The free desktop crawler flags low-contrast text and missing alt text across your whole site.

Download SiteAuditLint