RootUtils

Contrast Checker

Client-Side Secure

Free online Contrast Checker. Test color combinations for accessibility compliance (WCAG). Ensure your design is readable for everyone.

Contrast Ratio
0.00
Fail

The quick brown fox

Jumps over the lazy dog. This text simulates body copy. Ensure it is readable against the background.

Aa Normal Text (Body)

WCAG AAMinimum (4.5:1)
Fail
WCAG AAAEnhanced (7.0:1)
Fail

Aa Large Text (18pt+)

WCAG AAMinimum (3.0:1)
Fail
WCAG AAAEnhanced (4.5:1)
Fail

Is this tool broken?

Let us know if you found a bug or have a feature request.

WCAG Color Contrast Checker

Ensure your website is readable for everyone. This tool calculates the contrast ratio between foreground text and background color, verifying compliance with WCAG 2.1 accessibility standards.

Struggling to find a passing color? Use our unique Smart Auto-Fix button to automatically adjust your text color until it meets the required AA standard (4.5:1).

WCAG Levels

AA (Minimum): Requires a ratio of 4.5:1 for normal text. This is the standard for most business websites.
AAA (Enhanced): Requires 7:1. Essential for government sites and users with low vision.

Smart Repair

Don't waste time guessing hex codes. If your color combination fails, click "Auto Fix". Our algorithm incrementally lightens or darkens your text color to find the closest possible match that passes accessibility tests.

Vision Simulator

Test your design against different vision conditions. Use the "Blur" mode to simulate low visual acuity or dirty screens, and "Grayscale" to check if your UI relies too heavily on color to convey meaning.

Why Accessibility Matters

Legal Compliance

In many countries, web accessibility is a legal requirement (ADA in the US, EAA in Europe). Failing to meet WCAG AA standards can lead to lawsuits for commercial websites.

Better UX for All

High contrast isn't just for the visually impaired. It helps users on mobile devices in bright sunlight, people with older screens, and anyone experiencing eye strain.

Frequently Asked Questions

Does text size matter?

Yes. Large text (defined as 18pt or 14pt bold) is easier to read, so the contrast requirement is lower (3:1). Small or normal text requires a higher contrast ratio (4.5:1).

What about logos?

Text that is part of a logo or brand name has no minimum contrast requirement according to WCAG 2.1 guidelines. However, purely decorative elements are exempt as well.