Free tools / Color contrast checker

Color contrast checker

Check two hex colors against the WCAG contrast thresholds for text.

How it works

Contrast ratio = (L1 + 0.05) / (L2 + 0.05) using relative luminance from the WCAG 2 definition. AA needs 4.5 for normal text and 3 for large text; AAA needs 7 and 4.5.

Free and without sign-up. It runs in your browser; nothing you enter is sent to a server.