- Home
- Tools
- Color & Design
- Color Converter
- HEX to CMYK Converter
HEX to CMYK Converter
Estimate CMYK percentages for a HEX color code with the standard formula, as a starting point for print work.
With or without the #. Three digits work too.
In CMYK
cmyk(25%, 75%, 0%, 20%)
Hue
280°Alpha
100%
In the other notations
Name
darkorchidexact match
HEX to CMYK by hand
The converter opens with #9932cc. This is how that color gets from HEX to CMYK, step by step.
- Read the three pairs of
#9932ccas numbers in base 16, where the first digit counts sixteen times:99is 9 × 16 + 9 = 153,32is 3 × 16 + 2 = 50 andccis 12 × 16 + 12 = 204. Those are the red, green and blue values. - Divide each value by 255, so that it runs from 0 to 1: 153 ÷ 255 = 0.6, 50 ÷ 255 = 0.1961 and 204 ÷ 255 = 0.8.
- Black is what the largest of the three still lacks: K = 1 − 0.8 = 0.2.
- The other inks cover what is missing in each channel, as a share of what black leaves over, 1 − K = 0.8: C = (1 − 0.6 − 0.2) ÷ 0.8 = 0.25, M = (1 − 0.1961 − 0.2) ÷ 0.8 = 0.7549 and Y = (1 − 0.8 − 0.2) ÷ 0.8 = 0.
- In whole percentages:
cmyk(25%, 75%, 0%, 20%).
Well-known colors in HEX and CMYK
| Color | HEX | CMYK |
|---|---|---|
| black | #000000 | cmyk(0%, 0%, 0%, 100%) |
| white | #ffffff | cmyk(0%, 0%, 0%, 0%) |
| gray | #808080 | cmyk(0%, 0%, 0%, 50%) |
| red | #ff0000 | cmyk(0%, 100%, 100%, 0%) |
| orange | #ffa500 | cmyk(0%, 35%, 100%, 0%) |
| yellow | #ffff00 | cmyk(0%, 0%, 100%, 0%) |
| lime | #00ff00 | cmyk(100%, 0%, 100%, 0%) |
| green | #008000 | cmyk(100%, 0%, 100%, 50%) |
| cyan | #00ffff | cmyk(100%, 0%, 0%, 0%) |
| blue | #0000ff | cmyk(100%, 100%, 0%, 0%) |
| purple | #800080 | cmyk(0%, 100%, 0%, 50%) |
| magenta | #ff00ff | cmyk(0%, 100%, 0%, 0%) |
An estimate, not a print specification
- A HEX code describes light on a screen and CMYK describes ink on paper. The formula connects the two as if ink were perfect. A print shop uses a color profile for its own press and paper, and arrives at other percentages.
- If the color has to match in print, convert it in a design program that has the printer's profile, or choose it from a printed swatch book.
- The result is in whole percentages, which is coarser than a HEX code. Neighboring codes share one result:
#9933ccgives the same four percentages as this example. - A code with a fourth pair of digits loses its opacity here. Ink has no transparency to set.
The color converter shows a color in all seven notations at once, with a picker to choose it by eye.