COLOR CONTRAST
Check any two colors against WCAG AA and AAA standards. Instant results, all in your browser.
Click "Suggest Fix" to find a color that passes AA.
Upload an image, then click anywhere on it to pick a color.
No saved color pairs yet.
The quick brown fox jumps over the lazy dog. (16px normal text)
The quick brown fox jumps over the lazy dog. (24px bold)
PASS means your color combination meets WCAG 2.1 guidelines at that level. Text is readable for most users, including those with low vision (approximately 20/40 vision).
FAIL means the contrast is insufficient. Users with low vision or viewing in bright environments may struggle to read the text. Consider darkening the foreground or lightening the background.
Remember: WCAG AA is the legal standard for most websites (Section 508, EN 301 549). AAA is a higher goal but not always achievable — and that's okay.
Enter hex values (one per line or comma-separated) to generate a contrast matrix.
Frequently Asked Questions
What is color contrast ratio?
What is the difference between WCAG AA and AAA?
How do I fix colors that fail contrast checks?
Is this tool accurate for web design?
Do you simulate color blindness?
What is APCA contrast and how is it different from WCAG?
Is my color data stored or sent anywhere?
How to Use
Pick a Foreground Color
Use the color picker or type a hex code for your text, icon, or UI element color (e.g.,
Pick a Background Color
Choose the background color behind that element. The tool compares the two to compute the contrast ratio.
Read the Results
The tool shows the contrast ratio (e.g., 9.83:1) and pass/fail status for all four WCAG levels — AA Normal, AA Large, AAA Normal, AAA Large.
Adjust to Pass
If your pair fails a level, tweak either color using the picker or hex input and watch the results update instantly. Small lightness adjustments of 10-20% often turn a fail into a pass.
Use the Live Preview
The preview section shows sample text rendered in your chosen colors at normal (16px) and large (24px bold) sizes so you can see how readability looks in context.
Fine-Tune with HSL Sliders
Switch between Foreground and Background tabs to adjust Hue, Saturation, and Lightness via sliders. The contrast updates instantly as you drag.
Simulate Color Blindness
Select a color vision deficiency type (protanopia, deuteranopia, tritanopia, or achromatopsia) to preview how your color pair looks to color-blind users.
Pick Colors from an Image
Upload an image and click anywhere on it to extract a hex color. Use the → Foreground or → Background buttons to apply the picked color instantly.
Generate a Batch Contrast Matrix
Enter multiple hex colors (one per line) and click Generate Matrix to see a table showing which combinations pass or fail WCAG AA at a glance.
How to Calculate
About the Color Contrast Checker
The Color Contrast Checker is a free online tool that evaluates the readability of any two colors against WCAG 2.1 AA/AAA and the APCA perceptual contrast standard (WCAG 3.0 candidate). Simply pick a foreground and background color to instantly see the contrast ratio, pass/fail badges, color blindness simulation, HSL fine-tuning, batch contrast matrix, and more — all in your browser.
Accessible color contrast is essential for inclusive web design. Poor contrast affects users with low vision, color blindness, or viewing in bright environments. By checking your color combinations before publishing, you ensure your content is readable by the widest possible audience while meeting legal accessibility requirements like Section 508 and EN 301 549.
100% free and private — all calculations happen in your browser. No sign-up, no server uploads, no data collection. Just instant, accurate WCAG compliance checking for designers and developers.