Color converter & contrast checker
Convert a color between HEX / RGB / HSL and check whether two colors meet the WCAG contrast requirements.
- HEX
— - RGB
— - HSL
—
Contrast check
Contrast ratio —
- Normal text · AA ≥ 4.5:1 —
- Normal text · AAA ≥ 7:1 —
- Large text · AA ≥ 3:1 —
- Large text · AAA ≥ 4.5:1 —
Aa 0123
Contrast follows the WCAG 2.1 relative-luminance formula: normal text needs 4.5:1 (AAA 7:1); large text (about 18px bold or 24px and up) needs 3:1 (AAA 4.5:1).
Everything runs in your browser: input and results are never uploaded and are cleared when you reload or close the page. Judge the risk yourself when working with passwords or sensitive data.