Color Contrast Checker
Check text and background colours against WCAG 2.2 AA and AAA, and get the nearest passing colour.
Open toolConvert colours between HEX, RGB, HSL, HWB, OKLCH and CMYK, plus code-ready formats.
Paste a colour in any common notation and instantly get it in every other: HEX, modern and legacy RGB and HSL, HWB, OKLCH and CMYK, plus Swift (UIKit) and Android ARGB values for app developers. Transparency is preserved where the format supports it.
CMYK values are a mathematical approximation. Real print colours depend on the printer, paper and ICC profile, so use your printer’s proofing tools for final artwork.
Your details
HEX (3/4/6/8 digit), RGB(A), HSL(A), HWB, OKLCH
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Shown instantly, ready to copy or export
Type or paste a colour, or use the picker.
Copy any of the converted values.
Check contrast against white and black in the side panel.
Zero-upload architecture
Free, with no sign-up or watermark · Your details stay on your device
Launch the app. There is nothing to install and no account to create.
Copy any of the converted values.
Check contrast against white and black in the side panel.
Check text and background colours against WCAG 2.2 AA and AAA, and get the nearest passing colour.
Open toolBuild harmonious palettes and 50–950 tonal scales from one colour, or extract a palette from any image.
Open toolDesign linear, radial and conic CSS gradients with draggable colour stops and copy the code.
Open toolConvert length, weight, temperature, area, volume, speed, time, data, energy and pressure units instantly.
Open tool