Contrast Grid

Check color contrast
before it ships.

Test two colors or check a whole palette at once. See which combinations meet WCAG 2.2 text contrast thresholds.

Check two colors

Use #RGB or #RRGGBB for solid sRGB colors.

Contrast ratio

—

Palette grid

Select a ratio to open that text and background pair above.

Enter 2 to 12 hex colors, optionally with names. Use one line per color.

How results are calculated

The ratio uses WCAG relative luminance for solid sRGB colors. Thresholds are checked before rounding. The display rounds down to two decimal places.

What counts as large text?

WCAG uses 18 pt regular or 14 pt bold as the large-text minimum. Test the actual text and background used in the interface.

WCAG minimum contrast · WCAG enhanced contrast