Skip to main content

Color Contrast Checker

Test color combinations for WCAG 2.1 accessibility compliance. Ensure your text is readable for everyone.

R
G
B
R
G
B
Contrast Ratio

WCAG AA

Normal Text (4.5:1)
Large Text (3:1)
UI Components (3:1)

WCAG AAA

Normal Text (7:1)
Large Text (4.5:1)

Live Preview

Small text (14px): The quick brown fox jumps over the lazy dog. This is what your body text will look like.

Large text (18px): The quick brown fox jumps over the lazy dog.

Heading text (24px bold): Hello World

Quick Presets

Understanding Color Contrast

Color contrast is fundamental to web accessibility. When text doesn't have enough contrast against its background, it becomes difficult or impossible for many people to read — including those with low vision, color blindness, or anyone using a screen in bright sunlight.

WCAG Contrast Requirements

The Web Content Accessibility Guidelines (WCAG) 2.1 specify minimum contrast ratios for text:

Level Normal Text Large Text
AA (Minimum) 4.5:1 3:1
AAA (Enhanced) 7:1 4.5:1

What is Large Text?

Large text has relaxed contrast requirements because bigger characters are easier to distinguish:

Beyond Text: UI Components

WCAG 2.1 also requires a minimum 3:1 contrast ratio for:

Tips for Better Contrast

Frequently Asked Questions

What is color contrast ratio?

Color contrast ratio measures the difference in luminance (brightness) between two colors. It's expressed as a ratio like 4.5:1, where higher numbers indicate greater contrast. The maximum possible ratio is 21:1 (black on white), and the minimum is 1:1 (identical colors).

What are WCAG AA and AAA standards?

WCAG (Web Content Accessibility Guidelines) defines two conformance levels for color contrast. AA requires 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 for normal text and 4.5:1 for large text. AA is the standard requirement for most websites, while AAA provides enhanced accessibility.

What counts as large text?

Large text is defined as 18pt (24px) or larger for regular weight, or 14pt (approximately 18.5px) or larger for bold text. Large text has lower contrast requirements because larger characters are easier to read.

Why is color contrast important?

Good color contrast ensures that text is readable by people with low vision, color blindness, or those viewing screens in bright environments. Poor contrast can make content inaccessible to millions of users and may violate accessibility laws like the ADA or Section 508.

Does this tool work offline?

Yes! This tool runs entirely in your browser with no server required. Once loaded, it works without an internet connection and your color choices are never sent anywhere.

Related Tools

Check out our SEO Analyzer for comprehensive website analysis including accessibility checks.