- Free tools
- 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
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
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.
Upload the image
Drop in the hero or banner image your text sits on. It is drawn to a canvas locally.
Place the text
Set the text color and size, then drag and resize the box to match where your caption or heading appears.
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 size | AA minimum | AAA minimum |
|---|---|---|
| Normal (under 24px) | 4.5 : 1 | 7 : 1 |
| Large (24px, or 18.66px bold) | 3 : 1 | 4.5 : 1 |
Tip: a scrim, gradient or text shadow raises the worst-case contrast over a busy image.
WHAT YOU GET
Measured, not guessed
Samples the image
Reads the actual pixels under your text box with the canvas API, not a single flat color.
Minimum contrast
Reports the lowest contrast ratio in the region, the one that determines whether the text passes.
Drag and resize
Move the box to match your real layout and watch the verdict update as you go.
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.
Percent passing
Shows the share of the region that passes, so you know if it is a small hotspot or a real problem.
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.
| Task | This free tool | SiteAuditLint app |
|---|---|---|
| Check text contrast over an image | Yes | Specialized |
| Find low-contrast text across pages | No | Yes |
| Flag missing image alt text | No | Yes |
| Audit a whole site at once | No | Yes |
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