CMYK to HEX converter
Similar colors
Convert CMYK to HEX online
Type the four percentages from a brand book or a print file, such as 0, 60, 100, 0, and get the HEX code for a website.
How to convert CMYK to HEX
- Divide the four percentages by 100.
- Red = 255 x (1 - C) x (1 - K), green = 255 x (1 - M) x (1 - K), blue = 255 x (1 - Y) x (1 - K).
- Round the three numbers and write each as two HEX characters.
- Example: CMYK 0%, 60%, 100%, 0% gives 255, 102 and 0, which is #FF6600.
CMYK to HEX table of common colors
| Color | CMYK | HEX |
|---|---|---|
| Black | 0%, 0%, 0%, 100% | #000000 |
| White | 0%, 0%, 0%, 0% | #FFFFFF |
| Gray | 0%, 0%, 0%, 50% | #808080 |
| Red | 0%, 100%, 100%, 0% | #FF0000 |
| Maroon | 0%, 100%, 100%, 50% | #800000 |
| Orange | 0%, 35%, 100%, 0% | #FFA500 |
| Gold | 0%, 16%, 100%, 0% | #FFD700 |
| Yellow | 0%, 0%, 100%, 0% | #FFFF00 |
| Green | 100%, 0%, 100%, 50% | #008000 |
| Teal | 100%, 0%, 0%, 50% | #008080 |
| Cyan | 100%, 0%, 0%, 0% | #00FFFF |
| Blue | 100%, 100%, 0%, 0% | #0000FF |
| Navy Blue | 100%, 100%, 0%, 50% | #000080 |
| Purple | 0%, 100%, 0%, 50% | #800080 |
| Magenta | 0%, 100%, 0%, 0% | #FF00FF |
| Pink | 0%, 25%, 20%, 0% | #FFC0CB |
Frequently asked questions
Why is the HEX color brighter than my printed sample?
The formula knows nothing about paper and ink. If the brand book lists its own HEX code, use that one. If not, compare on screen and adjust by eye.
Can two CMYK colors give the same HEX code?
Yes. Different mixes of cyan, magenta, yellow and black can make the same shade, so CMYK has more than one way to write many colors.
Do I need the percent signs?
No. 0, 60, 100, 0 and 0%, 60%, 100%, 0% both work.