Contrast checker
Check whether a text and background color pair meets WCAG AA/AAA contrast levels.
How to use
- Enter the text color and the background color.
- Run the check.
- Read the ratio and the AA/AAA verdicts.
What it supports
Uses the WCAG 2.x luminance formula and accepts hex, rgb(), and hsl() colors. Large-text levels apply to roughly 18 pt / 24 px (or 14 pt bold) and above. This measures color contrast only — it does not cover readability, fonts, or other accessibility requirements.