Color Converter

Pick a color and instantly convert between HEX, RGB and HSL formats, with a live preview. Perfect for designers and developers.

rgb()
RGB · click to copy
hsl()
HSL · click to copy
cmyk()
CMYK estimate · click to copy

Estimated from sRGB; no ICC profile. This cannot replace a print proof.

Contrast guidance appears here.

Pipeline: palette · shades · contrast

Convert colors between HEX, RGB, HSL, OKLCH and LAB

Pick a color or paste a HEX/HEXA code. Every format updates live with alpha preserved, D50-correct CSS Lab, and WCAG contrast badges vs white and black text.

FAQ

Which formats are supported?

HEX/HEXA, RGB, HSL, OKLCH, CIELAB and an estimated CMYK value. CSS lab() output uses the required D50 white point, and alpha is preserved across formats.

Can I copy the values?

Yes — click any value to copy it, use Copy all formats for a full block, or Download CSV for spreadsheets.

Is it good for CSS?

Yes — RGB, HSL and OKLCH outputs are formatted ready to paste into CSS. Pipeline links send your color to palette, shades and contrast tools.

Last updated: