WCAG Contrast Checker
Test foreground text and background surface colors against WCAG 2.1 relative luminance contrast ratios with instant AA and AAA pass/fail badges.
How to use WCAG Contrast Checker
- Pick or paste your Foreground text HEX color and Background HEX color.
- Inspect the live contrast ratio (e.g. 8.59:1) and sample text preview.
- Verify pass/fail compliance for AA Normal, AA Large, AAA Normal, and AAA Large.
Frequently Asked Questions
What is the minimum ratio for WCAG AA body text?
Normal text requires at least 4.5:1; large text (18pt+ or 14pt+ bold) requires 3.0:1.
Related Tools