Skip to content

Color format converters

Convert colors between HEX, RGB, HSL, HSV, OKLCH and CMYK. Pick a conversion or open the full converter.

HEX RGBHEX HSLHEX HSVHEX CMYKHEX OKLCHRGB HEXRGB HSLRGB HSVRGB CMYKRGB OKLCHHSL HEXHSL RGBHSL HSVHSL OKLCHHSL CMYKHSV HEXHSV RGBHSV HSLHSV CMYKHSV OKLCHCMYK HEXCMYK RGBCMYK HSLCMYK HSVCMYK OKLCHOKLCH HEXOKLCH RGBOKLCH HSLOKLCH HSVOKLCH CMYK

Open the full Color Converter →

Why one color has so many notations

HEX and RGB address the screen directly. HSL and HSV are built for humans adjusting a color by hand. OKLCH matches human perception closely enough to do arithmetic on. CMYK describes ink on paper. They are different descriptions of the same thing, chosen to suit different jobs.

Which notation to reach for

Use HEX for handing values to developers and design tools, HSL when you want a quick lighter or darker variant, and OKLCH when you are generating a whole scale programmatically. Convert to CMYK only at the very end, for print — and expect the vivid screen colors to soften, because ink simply cannot reach them.

Frequently asked questions

Does converting a color change it?

Between HEX, RGB, HSL and HSV, no — they are lossless descriptions of the same sRGB value, so a round trip returns the original. OKLCH and CMYK are different: OKLCH can express colors sRGB cannot show, and CMYK covers a smaller range, so those conversions are approximations.

Why do converted values sometimes differ by one?

HSL and HSV percentages are usually rounded to whole numbers for readability. Rounding 60.4% to 60% and converting back can land one step away in RGB. It is invisible on screen, but it is why a round trip is not always byte-identical.

Why does my CMYK color look duller than on screen?

Screens emit light and can show saturated colors that ink on paper cannot reproduce. Anything outside the printable range gets mapped to the nearest achievable ink mix, which usually reads as less vivid. For accurate print work, confirm against your printer's own profile.

Is any of this sent to a server?

No. Every conversion here is plain arithmetic that runs in your browser — nothing about the colors you enter leaves your device.

Copied