How to Check color contrast for accessibility
Check WCAG 2.2 color contrast ratios for accessibility. Test foreground and background colors against AA and AAA standards with live preview and auto-suggestions.
Quick start
Contrast Checker — Check WCAG 2.
Get started in under two minutes:
- Enter your foreground color
- Enter your background color
- Read the contrast ratio and WCAG grade
- Use the auto-suggest feature
Step-by-step instructions
Follow these steps to get the best results from Contrast Checker:
Enter your foreground color
Click the foreground color swatch or type a hex value into the input field. This is usually the text color.
Enter your background color
Click the background color swatch or type a hex value. This is the color the text sits on top of.
Read the contrast ratio and WCAG grade
The tool displays the contrast ratio (for example: 4.5:1) and whether it passes WCAG AA (minimum 4.5:1 for normal text) and AAA (7:1) standards.
Use the auto-suggest feature
If your combination fails WCAG, click "Suggest passing alternatives" to see the nearest colors that meet the contrast threshold while staying close to your original palette.
Frequently asked questions
Is Contrast Checker free to use?
Yes — Contrast Checker is completely free with no account or signup required. All core features are available immediately.
Does Contrast Checker work on mobile devices?
Yes — Contrast Checker works on smartphones and tablets through any modern mobile browser. The interface adapts to smaller screens automatically.