Skip to content

Frontend tool

Colour Converter

Convert a colour between HEX, RGB and HSL, and check its contrast ratio against white and black for WCAG AA and AAA.

Formats

WCAG contrast

Contrast ratios follow WCAG 2.1 relative luminance. AA needs 4.5:1 for body text (3:1 for large text); AAA needs 7:1.

↑ ↓ to navigate · ↵ to open · esc to close Full search