Color Contrast Checker

WCAG 2.1 AA/AAA · Hex, RGB, HSL input · Live preview

Colors

Accepts: #fff, #aabbcc, rgb(r,g,b), rgba(r,g,b,a), hsl(h,s%,l%)
Accepts: #fff, #aabbcc, rgb(r,g,b), rgba(r,g,b,a), hsl(h,s%,l%)
Contrast Ratio
AA Normal
≥ 4.5:1
AA Large
≥ 3:1
AAA Normal
≥ 7:1
AAA Large
≥ 4.5:1

Live Preview

Heading text (large)
Body copy — accessible text ensures everyone can read your content regardless of visual ability. Good contrast ratios matter for WCAG compliance.
Small text (12px) is harder to read — aim for WCAG AA or higher.
Bold large text (18pt)
Button

WCAG 2.1 Contrast Requirements

LevelText SizeMin RatioNotes
AANormal text4.5:1Body text, UI labels, links
AALarge text3:1≥ 18pt (24px) regular or ≥ 14pt (18.67px) bold
AAANormal text7:1Enhanced — recommended for critical UI
AAALarge text4.5:1Enhanced large text
AANon-text (UI components)3:1Icons, focus rings, form borders