CMYK to HSV Converter

CMYK to HSV: cmyk(75%, 10%, 0%, 30%) = hsv(188, 75%, 70%). See the formula worked step by step, a reference table, and our test of every CMYK value.

How to use CMYK to HSV

  1. 1Enter C, M, Y and K.
  2. 2Read H, S and V (HSB in Photoshop).
  3. 3Note that V is 100 − K whenever one ink is at 0%.

Features

  • Direct link between K and V
  • Cool-grey ramp through a print profile
  • Precision measured over every recipe

How CMYK to HSV conversion works

CMYK and HSV line up neatly in the naive model: black ink sets value (V = 1 − K when one of C, M or Y is zero), and the coloured inks set saturation and hue. The converter goes through RGB, but you can often read V straight from K.

  • CMYK → RGB with the naive formula.
  • V = max(R′, G′, B′), which is (1 − K) × (1 − the smallest of C, M, Y).
  • S = (V − min) ÷ V.
  • H from the largest channel.

Worked example: cmyk(75%, 10%, 0%, 30%) to HSV

Here is the converter's own calculation for cmyk(75%, 10%, 0%, 30%), step by step. The result, hsv(188, 75%, 70%), is exactly what the tool above shows for this input.

  • As fractions: C = 0.75, M = 0.1, Y = 0, K = 0.3.
  • R = 255 × (1 − 0.75) × (1 − 0.3) = 44.63 → 45.
  • G = 255 × (1 − 0.1) × (1 − 0.3) = 160.65 → 161.
  • B = 255 × (1 − 0) × (1 − 0.3) = 178.5 → 179.
  • R′ = 45 ÷ 255 = 0.176, G′ = 0.631, B′ = 0.702.
  • Cmax = 0.702, Cmin = 0.176, Δ = 0.525.
  • V = Cmax = 0.702.
  • S = Δ ÷ V = 0.749.
  • Blue is largest: H = 60° × ((0.176 − 0.631) ÷ 0.525 + 4) = 188.1°.
  • Rounded: hsv(188, 75%, 70%).

Cool greys: 30% cyan plus black in CMYK and HSV

Common ink recipes and what they become on screen.

ColourCMYKHSV
C30 K0cmyk(30%, 0%, 0%, 0%)hsv(180, 30%, 100%)
C30 K10cmyk(30%, 0%, 0%, 10%)hsv(180, 30%, 90%)
C30 K20cmyk(30%, 0%, 0%, 20%)hsv(180, 30%, 80%)
C30 K30cmyk(30%, 0%, 0%, 30%)hsv(180, 30%, 70%)
C30 K40cmyk(30%, 0%, 0%, 40%)hsv(180, 30%, 60%)
C30 K50cmyk(30%, 0%, 0%, 50%)hsv(180, 30%, 50%)
C30 K60cmyk(30%, 0%, 0%, 60%)hsv(180, 30%, 40%)
C30 K70cmyk(30%, 0%, 0%, 70%)hsv(180, 30%, 30%)
C30 K80cmyk(30%, 0%, 0%, 80%)hsv(180, 29%, 20%)
C30 K90cmyk(30%, 0%, 0%, 90%)hsv(180, 28%, 10%)

Precision test: every CMYK value through the converter

The 104,060,401 whole-number recipes produce 2,417,102 distinct HSV values. Going back to CMYK reproduces the same colour 28.128% of the time, never more than 3 levels off.

Method: every whole-number CMYK value, through the converter's own code and back, compared on the 0–255 scale (how we test).

MeasureResult
CMYK values tested104,060,401
Distinct HSV results2,417,102
Came back exactly28.128%
Largest change (0–255 levels)3
Average change0.7439

Last updated · Source: Pixohub exhaustive test of lib/color-math.ts

Formula vs a real print profile

A cool grey built from 30% cyan with rising black shows the formula and profile disagreeing on how blue the grey looks. With no black, 30% cyan is #B2FFFF by formula and #AADCED through the profile. The largest per-channel difference down the ramp was 35 levels.

The converter above uses the standard formula. To show what a colour-managed conversion does, we converted the same colours with LittleCMS 2.19 through the Generic CMYK profile that ships with macOS (relative colorimetric intent with black point compensation, the default in Photoshop). Your printer's profile will give different numbers again, but in the same direction.

RecipeC/M/Y/KFormulaProfile
C30 K030/0/0/0#B2FFFF#AADCED
C30 K1030/0/0/10#A1E6E6#9CC8D7
C30 K2030/0/0/20#8FCCCC#8CB5C3
C30 K3030/0/0/30#7DB2B2#7CA1AF
C30 K4030/0/0/40#6B9999#6C8D99
C30 K5030/0/0/50#598080#5C7A85
C30 K6030/0/0/60#476666#4D6973
C30 K7030/0/0/70#364D4D#3F575F
C30 K8030/0/0/80#243333#2F4249
C30 K9030/0/0/90#121919#1B282E

Last updated · Source: Pixohub test, macOS Generic CMYK Profile via LittleCMS

Where you'll use CMYK to HSV

Matching print colours in a design app

Photoshop, Procreate and Affinity's HSB sliders are a quick way to recreate a print colour on screen; this gives you the starting values.

Designing cool or warm greys

Cool greys are often built from a little cyan plus black. Converting the ramp below shows that, by formula, saturation stays constant while value drops with K.

Animation and UI from print palettes

Motion designers often animate brightness in HSV. Converting a print palette gives V values to animate from.

Common mistakes

  • Expecting a K-only grey to look neutral in print: a grey from black ink alone is neutral on screen but can look slightly warm or cool on paper.
  • Assuming V is lightness: V of 100% can still be a dark-looking blue.
  • Ignoring that profile conversions reduce saturation for most inks.
  • Converting back and expecting the same ink recipe.

Frequently asked questions

What is cmyk(75%, 10%, 0%, 30%) in HSV?

hsv(188, 75%, 70%). With 0% yellow, V = 1 − K = 70%, and the cyan and magenta amounts set the hue near 188°.

Is V always 100 − K?

When one of cyan, magenta or yellow is 0%, yes. Otherwise the smallest of the three also lowers V.

Why does the profile make my grey bluer or warmer?

Real inks aren't perfectly neutral. The profile models how cyan and black actually reflect light on the reference paper.

Can I enter the result into Photoshop's HSB fields?

Yes; HSB is HSV. Keep in mind Photoshop shows profile-based CMYK alongside, which will differ from the recipe you started with.

More text, code & dev tools