Color Contrast Checker
Large text preview
Normal body text preview at this contrast ratio — the quick brown fox jumps over the lazy dog.
Check whether your text and background colours meet the WCAG contrast ratio for accessibility. See the exact ratio, a live preview, and AA / AAA pass or fail — free, instant, in your browser.
How to Use the Contrast Checker
Pick two colours
Choose a text colour and a background colour with the pickers, or type hex values directly. Use the swap button to flip them.
Read the ratio
The tool shows the exact contrast ratio and a live preview of large and normal text on your background.
Check AA & AAA
Green means the pair passes that level; red means it fails. Aim for at least AA (4.5:1 for normal text) for accessible interfaces.
Frequently Asked Questions
What is a good contrast ratio?
How is the contrast ratio calculated?
Does contrast apply to large text differently?
Is anything uploaded or saved?
Related tools
More free front-end helpers from the Design Tools suite: the Flexbox Generator, the Box Shadow Generator, the CSS Grid Generator and the Aspect Ratio Calculator.