Skip to content

Color Contrast Checker (WCAG 2.2)

Check the readability of your text and background colors against WCAG 2.2 and get a hue-preserving fix for pairs that fail.

What ratio is enough

WCAG 2.2 asks for at least 4.5:1 (AA) or 7:1 (AAA) for normal text. For large text (24 px, or 18.7 px bold) the limits are 3:1 and 4.5:1. UI components such as button borders, icons and charts need at least 3:1 against their background.

Ratios are never rounded up

A ratio of 4.499:1 is not shown as 4.50 and counted as a pass; the value is truncated to two decimals. Semi-transparent text is first blended with the background, so the ratio uses the color you actually see.

Fix suggestions and APCA

Suggestions keep the hue and chroma and change only lightness: your brand blue stays blue. The APCA value proposed for WCAG 3 is also shown, marked experimental because it is not a standard yet.

All ColorLab tools