FormatterHQ

CMYK to HSL Converter

Turn CMYK ink percentages into hsl() values so you can adjust hue, saturation and lightness for screen designs.

Loading tool…
Ready.

How to use the CMYK to HSL Converter

  1. Type or paste a CMYK color into the CMYK field, like cmyk(67%, 0%, 37%, 45%).
  2. The color is converted to RGB and then to hue, saturation and lightness as you type.
  3. Read the hsl() result in the HSL field and note the hue for building variants.
  4. Copy the value into your CSS and adjust lightness for hover or background shades.

CMYK to HSL: from a print swatch to a CSS palette

If your starting point is a printed brand color, a CMYK to HSL converter gives you something you can reason about on screen. In HSL the hue tells you where the color sits on the wheel, and lightness gives you a single knob for creating hover states, borders and backgrounds from the same brand color.

How the conversion runs

  1. CMYK to RGB: R = 255 × (1 − C) × (1 − K), and the same for G with M and B with Y. Round to whole numbers.
  2. Find the largest and smallest channel as fractions.
  3. Lightness is their average: L = (max + min) / 2.
  4. Saturation is (max − min) / (1 − |2L − 1|), and hue comes from which channel is largest.

Worked example: cmyk(67%, 0%, 37%, 45%)

RGB:  R = 255 × 0.33 × 0.55 =  46.3 →  46
      G = 255 × 1.00 × 0.55 = 140.3 → 140
      B = 255 × 0.63 × 0.55 =  88.4 →  88

max = 140/255 = 0.549, min = 46/255 = 0.180
L = (0.549 + 0.180) / 2           = 0.365 → 36.5%
S = 0.369 / (1 − |0.729 − 1|)     = 0.505 → 50.5%
H = 60 × ((88 − 46) / 94 + 2)     = 146.8 → 147°

→ hsl(147, 50.5%, 36.5%)

What black ink does to lightness

K scales every RGB channel by the same factor, so it lowers lightness while keeping the hue. Reducing the color inks does the opposite: it raises lightness.

cmyk(0%, 100%, 100%, 0%)    →  hsl(0, 100%, 50%)
cmyk(0%, 100%, 100%, 50%)   →  hsl(0, 100%, 25.1%)
cmyk(0%, 50%, 50%, 0%)      →  hsl(0, 100%, 75.1%)
cmyk(0%, 0%, 0%, 50%)       →  hsl(0, 0%, 50.2%)

The last line is a pure gray, so saturation is 0 and the hue is reported as 0° by convention.

Building screen variants

Once you have hsl(147, 50.5%, 36.5%), keep the hue and saturation and step the lightness, for instance 28% for a pressed state and 92% for a pale background. Every variant stays recognisably the same green, which is harder to achieve by editing CMYK or hex values directly.

Keep in mind the CMYK source values are converted with the simple unmanaged formula, not an ICC profile, so the HSL you get is a good screen approximation rather than a colorimetric match to the printed sample.

For the reverse direction use HSL to CMYK. If you work with picker values, CMYK to HSV suits better, and RGB to HSL covers colors you already have as channels.

Frequently asked questions

Can I convert CMYK to HSL directly?
Not with a single formula. The standard path goes through RGB, because HSL is defined from the red, green and blue channels. This tool does both steps for you.
Why does adding black ink lower HSL lightness but not change the hue?
K multiplies all three RGB channels by the same factor, so their ratios stay the same. Hue depends only on those ratios, while lightness falls as the channels shrink.
Why is my hue 147 instead of the 146 I expected?
Rounded CMYK percentages lead to slightly different RGB channels. A single-step change in one channel can shift the hue by a degree, which is not visible in practice.
Will the HSL color match my printed sample?
Approximately. The conversion ignores paper and press profiles, so compare the result with the physical sample under good light and adjust lightness or saturation if needed.

Last updated October 3, 2026

Related tools

HSL to CMYK Converter Convert HSL colour values to CMYK instantly, with a live colour swatch preview, colour picker and copy buttons. HEX to HSL Converter Convert HEX colour values to HSL instantly, with a live colour swatch preview, colour picker and copy buttons. HSL to HEX Converter Convert HSL colour values to HEX instantly, with a live colour swatch preview, colour picker and copy buttons. HSL to HSV Converter Convert HSL colour values to HSV instantly, with a live colour swatch preview, colour picker and copy buttons. HSL to RGB Converter Convert HSL colour values to RGB instantly, with a live colour swatch preview, colour picker and copy buttons. HSL to RGBA Converter Convert HSL colour values to RGBA instantly, with a live colour swatch preview, colour picker and copy buttons. CMYK to HSV Converter Convert CMYK colour values to HSV instantly, with a live colour swatch preview, colour picker and copy buttons. CMYK to RGB Converter Convert CMYK colour values to RGB instantly, with a live colour swatch preview, colour picker and copy buttons. CMYK to RGBA Converter Convert CMYK colour values to RGBA instantly, with a live colour swatch preview, colour picker and copy buttons. Color Blindness Simulator See how images and colour palettes look with protanopia, deuteranopia, tritanopia and other colour-vision deficiencies. Color Contrast Checker (WCAG) Check the WCAG 2 contrast ratio of text and background colours for AA and AAA, preview it live and get the closest passing colour. Color Converter Convert any colour to HEX, RGB, RGBA, HSL, HSV and CMYK at once. Accepts CSS names and any notation.