Color Contrast Checker

Check WCAG 2.1 color contrast ratios to ensure your designs meet AA and AAA accessibility standards

The quick brown fox

jumps over the lazy dog. 0123456789

Small text example for accessibility testing.

Contrast Ratio

14.63:1

Excellent

AA Normal Text

Min ratio: 4.5:1

Pass

AA Large Text

Min ratio: 3:1

Pass

AAA Normal Text

Min ratio: 7:1

Pass

AAA Large Text

Min ratio: 4.5:1

Pass

How to Use This Tool

1

Set a foreground (text) color and background color using the color pickers or HEX inputs.

2

View the live preview showing text on the selected background.

3

Check the contrast ratio and WCAG 2.1 pass/fail indicators.

4

Use the swap button to switch foreground and background.

About This Tool

Color Contrast Checker calculates the WCAG 2.1 contrast ratio between any two colors and shows whether they pass accessibility standards. See pass/fail results for AA Normal (4.5:1), AA Large (3:1), AAA Normal (7:1), and AAA Large (4.5:1) requirements. The live preview shows exactly how your text will look on the chosen background. Essential for web designers ensuring their designs are accessible to users with visual impairments.

Frequently Asked Questions

For body text, aim for at least 4.5:1 (WCAG AA). For large text (18px+ or 14px+ bold), 3:1 is sufficient. For the highest accessibility standard (AAA), aim for 7:1.

Large text is 18pt (24px) and above for normal weight, or 14pt (18.66px) and above for bold weight.

Share This Tool

Related Tools

Back to Design & CSS