Color contrast checker

Check the contrast ratio between text and background colors against WCAG AA and AAA.

Text color
Background color

Large text sample

Body text at 16 pixels, the size most web pages use for paragraphs.

—Contrast ratio
CheckRequiredResult

About this tool

WCAG requires a contrast ratio of at least 4.5:1 for body text and 3:1 for large text and interface components at level AA. Level AAA raises these to 7:1 and 4.5:1.