🎨

Color Converter

Convert colors between HEX, RGB, HSL and CMYK formats. Pick visually, check WCAG contrast — 100% local.

Pick a color
HEX
RGB
HSL
CMYK

Contrast ratio (WCAG 2.1)
vs White
vs Black

How it works

1
Choose a color Use the color picker for visual selection, or type directly into any of the HEX, RGB, HSL or CMYK fields.
2
All formats update instantly Editing any field recalculates and syncs all other formats in real time. The large swatch reflects the current color.
3
Check accessibility Contrast ratios against white and black are computed using the WCAG 2.1 relative luminance formula. Badges indicate whether the color passes AA (4.5:1) or AAA (7:1) thresholds.