Check foreground and background color combinations against WCAG contrast requirements before using them in a design.
Visit website (opens in a new tab)WebAIM Contrast Checker compares foreground and background colors against WCAG contrast requirements. It is useful for checking a palette before applying it to text, controls or other interface elements.
Treat a passing color pair as one design check, alongside readable typography and clear interaction states.
Enter two colors. Add the foreground and background hex values or use the color pickers.
Read the result. Choose the relevant text size or interface-component check.
Adjust and recheck. Change a color until the intended combination meets the requirement.
Ready to try it?
Open WebAIM Contrast Checker (opens in a new tab)