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
Live Preview
Click the text below to edit and see how it looks
This smaller text helps test WCAG AAA compliance for body content.
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