Color Model Converter (CMYK, HSV, LAB, OKLCH…)

Color Model Converter (CMYK, HSV, LAB, OKLCH…) converts a color to HEX, RGB, HSL, HSV/HSB, HWB, CMYK, CIE Lab, CIE LCH, OKLab and OKLCH at once. Type any of these formats as input or use the color picker; outputs use CSS Color 4 syntax. Everything is computed in your browser.

Color
You can type HEX, rgb(), hsl(), hsv(), hwb(), cmyk(), lab(), lch(), oklab() or oklch().
  • HEX
    #3366CC
  • RGB
    rgb(51, 102, 204)
  • HSL
    hsl(220, 60%, 50%)
  • HSV / HSB
    hsv(220, 75%, 80%)
  • HWB
    hwb(220 20% 20%)
  • CMYK
    cmyk(75%, 50%, 0%, 20%)
  • CIE Lab
    lab(45.03% 18.71 -57.85)
  • CIE LCH
    lch(45.03% 60.8 287.92)
  • OKLab
    oklab(53.25% -0.0225 -0.1663)
  • OKLCH
    oklch(53.25% 0.1679 262.29)

CMYK is a plain sRGB conversion without an ICC profile; for print it is only an approximation.

How it works

  1. 1Pick a color with the picker or type it in any format (e.g. #3366cc, cmyk(80%, 50%, 0%, 20%), oklch(62% 0.2 29)).
  2. 2All formats are listed below instantly.
  3. 3Press "Copy" next to the row you need.

Frequently asked questions

Why does OKLCH matter?+

OKLCH is a perceptually uniform color space: colors with the same lightness value really look equally light, which makes it more consistent than HSL for themes and gradients.

Do CMYK values match print exactly?+

No. This tool does a plain conversion without an ICC profile; use software with a print profile for exact print colors.

What does Lab D65 mean?+

The conversion uses D65, sRGB's standard white point.

Is transparency kept?+

Yes, if the input has an alpha value it is shown in the outputs too.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/color-model-converter/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Color Model Converter (CMYK, HSV, LAB, OKLCH…) · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…