Hex to CMYK Converter
Convert HEX color codes to CMYK percentages instantly by decoding to RGB and applying the standard RGB to CMYK formula.
CMYK Result
C
76%
M
47%
Y
0%
K
4%
RGB: 59, 130, 246
How the Hex to CMYK Converter Works
Enter a 3 or 6-character hex color code. The converter first decodes it into RGB (red, green, blue) values from 0-255, then applies the standard RGB-to-CMYK formula to get cyan, magenta, yellow, and key (black) percentages, since there's no direct hex-to-CMYK formula — hex always represents RGB first.
C = (1 − R' − K) ÷ (1 − K), M = (1 − G' − K) ÷ (1 − K), Y = (1 − B' − K) ÷ (1 − K)
Example
The hex code #3B82F6 decodes to RGB(59, 130, 246), which converts to approximately C 76%, M 47%, Y 0%, K 4%.
Common Use Cases
- Converting a web/screen color (hex) to a print-ready CMYK value.
- Checking how a brand's hex color code will translate to printed materials.
- Preparing design assets for professional printing software.
FAQs
Why isn't there a direct hex-to-CMYK formula?
Hex codes are just a compact way of writing RGB values in hexadecimal — they don't carry any separate CMYK information. Converting to CMYK always goes through RGB first, using the RGB-to-CMYK formula shown above.
Will the printed color exactly match what I see on screen?
Not necessarily — RGB (screen, additive light) and CMYK (print, subtractive ink) are different color models covering different color ranges (gamuts), so the conversion is an approximation. Actual printed results also vary by printer, paper, and ink profile, so proofing a physical sample is recommended for color-critical print work.
Does this support 3-character shorthand hex codes?
Yes — shorthand hex codes like #03F are automatically expanded to their full 6-character form (like #0033FF) before converting, so both formats work.
