Check WCAG AA and AAA contrast ratios for any text and background pair. Free, private and offline in your browser — files never leave your device.
Check any text and background colour pair against the WCAG 2.1 contrast ratio, with AA and AAA verdicts for normal and large text.
4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text at AA — large means 18 pt regular or 14 pt bold.
The WCAG 2.1 relative luminance formula, the same one browser audit tools and design systems use.