HEX to CMYK converter

Turn the HEX code into RGB, then into CMYK: coral #FF7F50 → rgb(255, 127, 80) → CMYK 0, 50, 69, 0.

#FF7F50
RGBrgb(255, 127, 80)
HSLhsl(16, 100%, 66%)
HSVhsv(16, 69%, 100%)
HWBhwb(16 31% 0%)
CMYKcmyk(0, 50, 69, 0)
OKLCHoklch(0.74 0.17 40)
OKLABoklab(0.735 0.128 0.109)
LABlab(68.0 47.4 48.6)
LCHlch(68.0 67.9 46)
DECIMAL16744272
≈Coral

Free·No sign-up·Works offline after the first visit

  • 1. HEX to RGB: FF = 255, 7F = 127, 50 = 80.
  • 2. Divide by 255: R = 1, G = 0.498, B = 0.314. K = 1 − 1 = 0.
  • 3. C = (1 − 1 − 0) ÷ 1 = 0; M = 1 − 0.498 = 0.502; Y = 1 − 0.314 = 0.686.
  • 4. Multiply by 100 and round: CMYK 0, 50, 69, 0.

Common colors in HEX and CMYK

colorHEXCMYK
White#FFFFFF0, 0, 0, 0
Black#0000000, 0, 0, 100
Red#FF00000, 100, 100, 0
Lime#00FF00100, 0, 100, 0
Blue#0000FF100, 100, 0, 0
Yellow#FFFF000, 0, 100, 0
Cyan#00FFFF100, 0, 0, 0
Magenta#FF00FF0, 100, 0, 0
Gray#8080800, 0, 0, 50
Orange#FFA5000, 35, 100, 0
Purple#8000800, 100, 0, 50
Gold#FFD7000, 16, 100, 0
HEXRGB
White#FFFFFFrgb(255, 255, 255)
Black#000000rgb(0, 0, 0)
Red#FF0000rgb(255, 0, 0)
Green#008000rgb(0, 128, 0)
Blue#0000FFrgb(0, 0, 255)
Yellow#FFFF00rgb(255, 255, 0)
Orange#FFA500rgb(255, 165, 0)
Purple#800080rgb(128, 0, 128)
Pink#FFC0CBrgb(255, 192, 203)
Gray#808080rgb(128, 128, 128)
Gold#FFD700rgb(255, 215, 0)
Navy blue#000080rgb(0, 0, 128)

How to convert HEX to CMYK by hand

There is no direct step from HEX to CMYK: a HEX code is an RGB color, so convert it to RGB first, then use the RGB to CMYK formula. The black part K is 1 minus the largest RGB channel (as a value from 0 to 1). Each of C, M and Y is what is missing from its channel, divided by (1 − K).

This is the simple, profile-free conversion. It is good for a quick value, a mock-up or an office printer. For a printed brand color, ask your print shop for the values on their paper; they may differ by a few points. Very bright screen colors, such as lime #00FF00, can't be printed exactly and will come out duller.

Questions and answers

How do I convert HEX to CMYK?

Convert the HEX code to RGB, then use K = 1 − max(R, G, B) and C = (1 − R − K) ÷ (1 − K), and the same for M and Y.

What is #FFFFFF in CMYK?

0, 0, 0, 0: no ink at all, the white of the paper.

Is a converted CMYK value print-ready?

It is a good start. For exact print colors, use your print shop's color profile.