Color Contrast Checker

Check WCAG 2.1 AA and AAA contrast ratios for text and UI accessibility compliance.

16.08:1
AAA Compliance
Display Heading

Body text sample โ€” the quick brown fox jumps over the lazy dog for testing readability.

Small caption text ยท 12px

AA โ€” Normal Text
Body text, small labels ยท min 4.5:1
Pass
AA โ€” Large Text
Text โ‰ฅ18pt or bold โ‰ฅ14pt ยท min 3:1
Pass
AAA โ€” Normal Text
Enhanced accessibility ยท min 7:1
Pass
AAA โ€” Large Text
Enhanced large text ยท min 4.5:1
Pass
UI Components
Buttons, icons, inputs ยท min 3:1
Pass

WCAG Contrast Requirements

WCAG 2.1 requires 4.5:1 contrast for normal text (AA) and 7:1 for enhanced compliance (AAA). Large text (โ‰ฅ18pt) requires 3:1 for AA. Always check both text and background combinations before shipping.

WCAG Color Contrast Checker โ€” Test AA & AAA Accessibility Standards

Accessible color design isn't just a legal requirement โ€” it's a fundamental quality standard that improves the experience for every user, including the 300 million people worldwide who have some form of color vision deficiency. Colaro's free WCAG color contrast checker gives you instant pass/fail feedback against both WCAG 2.1 AA and AAA standards, helping you build inclusive interfaces without slowing down your design workflow.

What Is WCAG Color Contrast?

The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios between text and its background to ensure readability for people with low vision. Contrast ratio is calculated using the relative luminance of the foreground and background colors โ€” a value ranging from 1:1 (no contrast, identical colors) to 21:1 (maximum contrast, pure black on pure white). WCAG 2.1 Level AA, the most commonly required standard, mandates a minimum ratio of 4.5:1 for normal-sized text and 3:1 for large text.

WCAG AA vs AAA โ€” What's the Difference?

WCAG defines three conformance levels: A, AA, and AAA. Level AA is the industry standard โ€” it's required by most accessibility laws including ADA (United States), AODA (Canada), and EN 301 549 (European Union). Level AAA sets more demanding thresholds (7:1 for normal text), providing enhanced readability for users with severe visual impairments. While full AAA compliance isn't always achievable across entire interfaces, targeting AAA for primary content areas significantly improves usability for aging populations and low-vision users.

Common Contrast Failures and How to Fix Them

The most common contrast failures in production interfaces include light gray text on white backgrounds, colored text on colored backgrounds (especially pastels), and placeholder text in form fields. To fix a failing ratio, the most effective approach is to darken your text color โ€” even a small shift in lightness often pushes a borderline ratio from 3.8:1 to a passing 4.5:1. Avoid relying solely on color to convey information; pair color with icons, patterns, or text labels to support color-blind users simultaneously. You can use Colaro's color blindness simulator alongside this tool for a complete accessibility audit.

Accessible Color Combinations for Web Design

Some of the most reliable accessible color pairings include dark navy or near-black text on white or light cream backgrounds, white or off-white text on deep blues, dark greens, or charcoals, and high-saturation accent colors used only for non-critical decorative elements. When building a design system, verify your entire token set โ€” primary, secondary, error, warning, and info states โ€” against WCAG AA before committing colors to production. Automated contrast testing at the token level prevents accessibility regressions as your system evolves.

Frequently Asked Questions

What contrast ratio does WCAG AA require?

WCAG 2.1 AA requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18pt or 14pt bold and above).

Does contrast matter for icons and UI components?

Yes. WCAG 2.1 Success Criterion 1.4.11 requires non-text UI components (like buttons, form inputs, and icons that convey information) to meet a 3:1 contrast ratio against adjacent colors.

How do accessibility auditors test contrast?

Auditors use automated tools like axe, Lighthouse, or WAVE alongside manual checks with contrast calculators. Colaro provides the calculation layer โ€” pair it with browser extensions for full coverage.

Can I check contrast for dark mode?

Absolutely. Enter your dark mode background color as the background field and your text color as the foreground to verify your dark theme meets WCAG standards independently.