Pixaru.

Color Contrast Checker

Pick a text and background color to see the WCAG contrast ratio and whether it passes AA and AAA for normal and large text. Everything runs in your browser.

Almost before we knew it

The quick brown fox jumps over the lazy dog.

18.59 : 1 contrast ratio

AA normal✓ Pass
AA large✓ Pass
AAA normal✓ Pass
AAA large✓ Pass

WCAG 2.1 contrast ratio. 🔒 Runs in your browser.

🔒 Tout se passe dans ton navigateur — rien n'est envoyé ni stocké.

Why colour contrast matters

Contrast is the difference in brightness between text and its background. When it's too low — light grey text on white, or dark blue on black — the text becomes hard or impossible to read, especially for the roughly one in twelve people with some form of colour-vision deficiency, anyone with low vision, and everyone squinting at a phone in bright sunlight. Good contrast isn't a nicety; it's what makes your content readable by everyone.

It's also a legal and professional requirement in many contexts. Accessibility standards, public-sector rules and most design systems set minimum contrast levels, and automated audits (like Lighthouse) flag pages that fail. Checking as you design saves a painful retrofit later.

How the WCAG contrast ratio works

This checker uses the WCAG 2.1 formula, the international standard. It converts each colour to a relative luminance value — a weighted measure of perceived brightness — and expresses the difference as a ratio between 1:1 (identical, invisible) and 21:1 (pure black on pure white, the maximum). The higher the ratio, the more legible the text.

WCAG defines two levels. Level AA, the common target, requires at least 4.5:1 for normal text and 3:1 for large text (roughly 18pt, or 14pt bold). The stricter Level AAA asks for 7:1 and 4.5:1 respectively. The tool shows a pass or fail for each so you know exactly where your colours stand.

Fixing a failing combination

If a pair fails, you usually don't need to abandon your palette — just adjust the lightness. Darkening the text or lightening the background (or vice versa) a few steps is often enough to cross the threshold while keeping the same hue. The live preview here lets you nudge values and watch the ratio update instantly.

Two practical notes: large, bold text has a lower requirement, so headings can use colours body text can't; and never rely on colour alone to convey meaning (for example, red for errors) — pair it with an icon or label so the message survives for colour-blind users. Everything is computed in your browser, nothing is uploaded.

Questions fréquentes

What is a good contrast ratio?
WCAG requires at least 4.5:1 for normal text (AA) and 7:1 for the stricter AAA level. Large text needs 3:1 (AA) or 4.5:1 (AAA).
Why does contrast matter?
Sufficient contrast keeps text readable for everyone, including people with low vision or color deficiencies, and is a key accessibility requirement.
Is anything uploaded?
No. The check runs entirely in your browser.