How to use Hex to CMYK converter
- Type or paste a hex color code, with or without the leading #.
- Read the CMYK percentages and the preview swatch, which update as you type.
- Copy the cmyk() value or any other format from the list.
Features
- Accepts 3-digit, 6-digit and 8-digit hex codes
- Shows cyan, magenta, yellow and black as percentages
- Also lists RGB and HSL, each with a copy button
- Clear note about how the CMYK values are calculated
- Runs in your browser with no upload
Examples
| Input | Result |
|---|---|
| #FF0000 | cmyk(0%, 100%, 100%, 0%) |
| #4F33E8 | cmyk(66%, 78%, 0%, 9%) |
| #000000 | cmyk(0%, 0%, 0%, 100%) |
Limitations
- This is a naive, device-independent conversion from sRGB with no ICC color profile, ink limits or gamut mapping. Printed colors depend on paper, ink and the printer profile, so the same hex code can look different on a print, and vivid screen colors may be outside what a printer can reproduce. For print jobs, convert with the profile your printer supplies. CMYK has no transparency, so alpha is ignored.
Learn more
Screens mix red, green and blue light to make color, while most printing presses lay down cyan, magenta, yellow and black ink. Hex codes belong to the first world and CMYK to the second, so designers often need to move from one to the other, for instance when a brand color defined for the web has to go on a flyer.
The quick formula used here takes black as one minus the largest of the three channels, then scales cyan, magenta and yellow by what remains. It gives a consistent, repeatable starting point and is good for estimates, mockups and notes. It is not a press-ready conversion: real print workflows use ICC profiles that describe how a particular ink, paper and printer respond. Ask your print shop for their profile when color accuracy matters.
Frequently asked questions
How do I convert hex to CMYK?
Turn the hex code into red, green and blue values from 0 to 1, take black as 1 minus the largest one, and compute cyan, magenta and yellow from what is left. The tool shows the result as percentages.
Will the CMYK values match my printer?
Not exactly. This is a simple mathematical conversion without an ICC profile. A printer or design program uses profiles that account for ink and paper, so results there will differ.
Why is black 100% for #000000 but not for dark colors?
Black is computed as 1 minus the brightest channel, so only a color with no brightness at all reaches 100%. Dark colors get a high but lower black value plus some cyan, magenta or yellow.
Does it handle transparent hex codes?
You can enter 8-digit codes, but CMYK cannot express transparency, so the alpha part is ignored for the CMYK result.
Sources
Last reviewed: September 30, 2026