Check any two colors against WCAG standards — get the contrast ratio plus AA and AAA pass/fail verdicts, with one-click suggested fixes.
Color Contrast Checker: WCAG AA and AAA Accessibility Test
Pick your text and background colors to see the exact WCAG contrast ratio (1:1 to 21:1), instant pass or fail verdicts for every AA and AAA level, live text samples, and one-click suggested fixes that make your palette compliant.
Text color (foreground)
Background color
The quick brown fox jumps over the lazy dog. Good contrast keeps every word readable for everyone, including people with low vision or color blindness.
Design for everyone
Bold callouts stay legible when the contrast ratio passes WCAG AA at minimum.
Every calculation happens in your browser. Your color choices are never uploaded, stored, or tracked anywhere.
Open the page and start checking. No accounts, no email walls, no trial limits on the number of checks.
Full WCAG math, live previews, and fix suggestions are free with no paywall and no watermark.
How to use the contrast checker
- 1Pick two colors
Choose a text (foreground) color and a background color with the color pickers, or type/paste hex codes like #1A2B3C directly into the fields.
- 2Read the ratio and verdicts
The exact contrast ratio from 1:1 to 21:1 updates live, with PASS or FAIL badges for AA normal, AA large, AAA normal, AAA large, and UI components.
- 3Preview real content
See how your pair looks on a paragraph, a headline, bold text, and a button mock so you can judge readability beyond the numbers.
- 4Fix failing pairs
Hit “Suggest a fix” and the checker darkens or lightens your text color just enough to pass WCAG AA for normal text. Use the swap button to test the reverse pairing.
Why designers use this checker
Uses the official relative-luminance formula with the piecewise linearization curve, so your ratio matches WebAIM, Lighthouse, and axe-core results exactly.
One view covers AA normal (4.5:1), AA large (3:1), AAA normal (7:1), AAA large (4.5:1), and non-text UI components (3:1) — no second tool needed.
The fix engine nudges your foreground color toward black or white in tiny steps until the pair passes AA normal text, preserving your palette’s intent.
Normal, large, bold, and button samples render in your actual colors, so accessibility checks match what users will really see.
Aligns with Section 508 and ADA digital-accessibility expectations commonly cited for US websites and government contracts.
No extensions, no plugins, no pasting screenshots into another app. It works on phones, tablets, and desktops.
Frequently asked questions
What is a good contrast ratio?
What counts as “large text” in WCAG?
How is the contrast ratio calculated?
Why does my pair fail AAA but pass AA?
Does this checker replace an accessibility audit?
Can I check link colors or button states too?
Is my data sent anywhere?
Related tools
Convert hex codes to RGB values instantly — handy when pulling colors from your design system.
CSS Gradient GeneratorBuild accessible, beautiful gradients and check that their text overlays still pass contrast.
Meta Tag GeneratorCreate SEO and social meta tags with proper previews, just like these live color previews.
JSON Formatter and ValidatorPretty-print and validate JSON, another developer staple for shipping clean code.
URL Encoder DecoderEncode and decode URLs and query strings safely for links, APIs, and redirects.
