Who it helps
It helps designers choosing palette combinations, developers reviewing CSS tokens, and content teams checking whether text remains readable before a design ships.
Test a colour pair against WCAG contrast thresholds in real time.
ABOUT THIS TOOL
The Colour Contrast Checker compares a foreground and background colour and reports the mathematical contrast ratio used by WCAG text criteria.
It helps designers choosing palette combinations, developers reviewing CSS tokens, and content teams checking whether text remains readable before a design ships.
Each colour is converted to relative luminance, then the lighter and darker values are compared using the WCAG contrast formula. Results are shown separately for normal text, large text, and enhanced AAA thresholds because one pass label does not cover every use.
Colour values are calculated locally in your browser. No palette, project name, screenshot, or design file is uploaded or retained.
HOW TO USE IT
Enter or choose the foreground colour used by the text.
Enter the exact background beneath it, including the resolved result of any design token.
Check the result that matches the intended text size and weight.
Test focus, hover, disabled, error, and visited states separately when their colours differ.
COMMON PROBLEMS
Transparent layers and gradients can change the final colour. Test the actual composited pair, especially over imagery.
The relaxed threshold applies only when the rendered text meets the relevant size and weight definition.
A strong ratio does not replace labels, icons, patterns, or text that communicate status without relying on colour perception.