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| RGB | rgb(255, 127, 80) | |
|---|---|---|
| HSL | hsl(16, 100%, 66%) | |
| HSV | hsv(16, 69%, 100%) | |
| HWB | hwb(16 31% 0%) | |
| CMYK | cmyk(0, 50, 69, 0) | |
| OKLCH | oklch(0.74 0.17 40) | |
| OKLAB | oklab(0.735 0.128 0.109) | |
| LAB | lab(68.0 47.4 48.6) | |
| LCH | lch(68.0 67.9 46) | |
| DECIMAL | 16744272 | |
| ≈ | 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
| color | HEX | CMYK |
|---|---|---|
| White | #FFFFFF | 0, 0, 0, 0 |
| Black | #000000 | 0, 0, 0, 100 |
| Red | #FF0000 | 0, 100, 100, 0 |
| Lime | #00FF00 | 100, 0, 100, 0 |
| Blue | #0000FF | 100, 100, 0, 0 |
| Yellow | #FFFF00 | 0, 0, 100, 0 |
| Cyan | #00FFFF | 100, 0, 0, 0 |
| Magenta | #FF00FF | 0, 100, 0, 0 |
| Gray | #808080 | 0, 0, 0, 50 |
| Orange | #FFA500 | 0, 35, 100, 0 |
| Purple | #800080 | 0, 100, 0, 50 |
| Gold | #FFD700 | 0, 16, 100, 0 |
| HEX | RGB | |
|---|---|---|
| White | #FFFFFF | rgb(255, 255, 255) |
| Black | #000000 | rgb(0, 0, 0) |
| Red | #FF0000 | rgb(255, 0, 0) |
| Green | #008000 | rgb(0, 128, 0) |
| Blue | #0000FF | rgb(0, 0, 255) |
| Yellow | #FFFF00 | rgb(255, 255, 0) |
| Orange | #FFA500 | rgb(255, 165, 0) |
| Purple | #800080 | rgb(128, 0, 128) |
| Pink | #FFC0CB | rgb(255, 192, 203) |
| Gray | #808080 | rgb(128, 128, 128) |
| Gold | #FFD700 | rgb(255, 215, 0) |
| Navy blue | #000080 | rgb(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.