Image Contrast Checker

Click any two points in an image to check WCAG contrast — AA, AAA, large-text thresholds. Built for designers verifying real screenshots, not just hex codes.

Clicking the image alternates between Foreground and Background samples.
🔒 Files never leave your browser — no upload, no server, no tracking.
No image yet.
Foreground (next click)
Background
Sample two colours to see the contrast ratio.

What is this for?

WCAG contrast checkers normally need two hex codes — but a designer doing an accessibility pass on a real screenshot doesn't have hex codes, they have pixels. This tool lets you upload an image (a screenshot, a hero design, a logo on a busy background) and click any two points. It samples the colour under the cursor (1 pixel or a 3×3 / 5×5 average) and computes the WCAG 2.1 contrast ratio between them. Verdict for AA, AA-large, AAA, AAA-large, and the UI components threshold (1.4.11). All in the browser.

When to use it

How sampling works

A single-pixel sample is precise but noisy — anti-aliased edges, JPEG artefacts, and subpixel rendering all cause neighbouring pixels to differ. The 5×5 average is usually what you want for designed UI: it returns the colour a human would describe, not the exact pixel under the click. Use 1px when checking a logo edge or a sharp colour boundary.

Common gotchas