Color & Design
WCAG Contrast Checker
Test a foreground and background pair against WCAG 2.1 AA and AAA levels, and get a suggested colour that passes when it fails.
Good to know
Frequently asked questions
What is the difference from the Color Contrast Checker?
Both use the same formula. This page focuses on WCAG levels and suggests a corrected colour when the pair fails your chosen level.
How is the suggestion calculated?
Hue and saturation stay fixed while lightness moves step by step towards the opposite of your background until the target ratio is reached.
Does passing AA make my site accessible?
It removes one common barrier. Keyboard access, focus visibility, semantic markup and clear labels matter just as much.
Are gradients or images checked?
No. Test the darkest and lightest points of the background separately against your text colour.