WCAG 2.1 Compliant

Contrast Checker

Check WCAG contrast ratios between Tailwind CSS colors. Build accessible UIs that everyone can use.

bg-slate-900

#0f172a

text-slate-100

#f1f5f9

The quick brown fox

jumps over the lazy dog.

Small text example for WCAG AAA testing. This demonstrates how smaller text might appear with your selected color combination.

Contrast Ratio

16.30:1

AA

Normal (4.5:1)

AA Large

Large (3:1)

AAA

Normal (7:1)

AAA Large

Large (4.5:1)

Copy Ready

About WCAG Contrast

AA Normal (4.5:1)

Minimum contrast for body text under 18pt or 14pt bold

AA Large (3:1)

For text 18pt+ or 14pt+ bold

AAA Normal (7:1)

Enhanced contrast for optimal readability

AAA Large (4.5:1)

Enhanced contrast for large text