WCAG Color Contrast Checker
Enter two hex codes to test a colour pair against WCAG 2.2 AA and AAA contrast ratios, with an experimental APCA estimate for additional design context.
Contrast testing workspace
Color Picker
Live Preview
Sample Heading
This is an example of how your text will look with the selected color combination. The text should be easily readable for all users, including those with visual impairments.
Small text example for testing readability at different sizes.
Sample LinkContrast ResultsWCAG 2.2
WCAG 2.2 Requirements
Smart Color Recommendations
About Contrast Standards
WCAG 2.2Traditional Contrast Ratio
WCAG 2.2 uses the traditional contrast ratio formula based on relative luminance. This method has been the standard for web accessibility compliance.
- AA Level: 4.5:1 (normal), 3:1 (large text)
- AAA Level: 7:1 (normal), 4.5:1 (large text)
- Large Text: 18pt+ or 14pt+ bold
ExperimentalAPCA (Advanced)
APCA (Advanced Perceptual Contrast Algorithm) offers another way to explore perceived contrast. This tool provides an estimate for design comparison, not a WCAG conformance result.
- Primary target: 60Lc (normal), 45Lc (large text)
- Enhanced target: 75Lc (normal), 60Lc (large text)
- Improved accuracy for different color combinations
Important: Use WCAG 2.2 for current conformance decisions. WCAG 3 remains an incomplete draft and its final requirements may differ.
Checked one pair. How many are failing on your site?
WebAIM's annual analysis of a million home pages finds low contrast text on more of them than any other failure, and it rarely shows up as a single bad pair. Paste a page and the scanner tests the text and background combinations on it, along with the other WCAG rules axe-core can check.
Essential Accessibility Resources
Comprehensive tools, checklists, and guides to help you create inclusive digital experiences