Color Contrast Checker

Remove Ads
Large sample text
Normal body text sample — the quick brown fox jumps over the lazy dog.
Contrast ratio
StandardNormal textLarge text
WCAG AA
WCAG AAA

AA needs 4.5:1 (normal) / 3:1 (large ≥18.66px bold or 24px). AAA needs 7:1 / 4.5:1.

Remove Ads

Color Contrast Checker — Make Sure Your Text Is Readable by Everyone

Low-contrast text looks stylish in a mockup and becomes unreadable in the real world — for users with low vision, for anyone in bright sunlight, on a cheap monitor, or with a dimmed screen. This free tool measures the contrast ratio between any text and background color and tells you instantly whether it passes the WCAG AA and AAA accessibility standards, with a live preview so you can see the result as you tune it.

The Thresholds You Need to Hit

StandardNormal textLarge text
WCAG AA (common legal minimum)4.5:13:1
WCAG AAA (enhanced)7:14.5:1

"Large text" means 18.66px bold or 24px regular and up. Most legal accessibility requirements — the ADA in the US, EN 301 549 in the EU — target AA, so 4.5:1 for body text is the number to remember.

How the Ratio Is Calculated

Contrast isn't about how different two colors look to you — it's a precise measure of relative luminance. The tool applies the official WCAG formula: it converts each color to its luminance value, then computes (lighter + 0.05) ÷ (darker + 0.05). The scale runs from 1:1 (a color on itself) to the maximum 21:1 (pure black on pure white). Pale grey text on white, a common design mistake, often lands around 2:1 — well below the readable minimum.

Why Accessibility Contrast Is Not Optional

  • It's the law in many places — accessibility standards reference WCAG AA directly, and inaccessible sites face real legal risk.
  • It's a large audience — hundreds of millions of people have some form of color-vision deficiency or low vision.
  • It helps everyone — good contrast improves readability in sunlight, on old screens and for tired eyes.

Use the live preview to test your real color pairs, adjust until the badges turn green, and ship interfaces everyone can read. Pair it with our color palette generator and CSS gradient generator to build accessible designs from the start.