Contrast Checker
Check color contrast for accessibility.
Large Text
Normal text sample.
About this tool
The Contrast Checker calculates the WCAG 2.1 contrast ratio between any two colours and tells you whether the pairing passes accessibility standards at AA, AAA, or fails outright. Paste a foreground and background hex value (or use the pickers) and you'll get the exact ratio, like 4.52:1 or 7.1:1, plus a pass/fail for normal text and large text at both tiers. A live preview pane shows how the combination actually looks, so you're not judging purely by number.
Use it every time you pick text colours, link styles, button backgrounds, or error messages. Even designers with strong colour intuition routinely underestimate how hard mid-grey text on white is for anyone with less-than-perfect vision, the checker turns that guess into a measured number that holds up in an accessibility audit or legal review.
WCAG thresholds
AA requires 4.5:1 for body text and 3:1 for large text (18pt+, or 14pt+ bold). AAA requires 7:1 and 4.5:1 respectively. Non-text UI (icons, borders, focus rings that carry meaning) needs 3:1 against its adjacent background under SC 1.4.11.
When to use it
Run every text and button colour through it before shipping, especially for brand-heavy palettes where muted tints on tinted backgrounds often sneak under AA. Pair with the Color Picker to dial in the exact hue or lightness adjustment needed to cross the threshold without changing the brand feel.
Frequently asked questions
What is a WCAG AA contrast ratio?
What's the difference between WCAG AA and AAA?
How do I check the contrast of my brand colours?
Does white text on yellow fail WCAG?
What is contrast ratio and how is it calculated?
Do I need to pass WCAG for icons and logos?
Related tools
Color Picker
Pick colors and convert between HEX, RGB, HSL, CMYK, and HSV formats.
Use tool ➜PPI & Retina Calculator
Calculate PPI and Retina distance for your display.
Use tool ➜Screen Size Comparison
Compare screen sizes side-by-side to visualize physical dimension differences.
Use tool ➜JSON Formatter
Validate, format, and minify JSON data with syntax highlighting.
Use tool ➜