Paste a hex code and get a CMYK breakdown. #22D3EE becomes cmyk(86%, 11%, 0%, 7%). The output updates live and copies in one click.
Hex is an sRGB screen color; CMYK describes ink on paper. This converter gives the standard math mapping between them, which is the right starting point when you need approximate ink percentages from a web color.
Supported input
Use the leading # with either 6 digits (#RRGGBB) or 3-digit shorthand (#fff). Digits are 0–9 or A–F. Toggle batch mode to convert multiple colors at once by pasting one color per line.
#FF5733 → cmyk(0%, 66%, 80%, 0%)
#22D3EE → cmyk(86%, 11%, 0%, 7%)
#111827 → cmyk(56%, 38%, 0%, 85%)
CMYK output format
Output is cmyk(c%, m%, y%, k%) with each component from 0% to 100%: cyan, magenta, yellow, and key (black). Black is pulled out separately so dark colors use the K channel rather than stacking all three inks. You can export the results as raw text, JSON arrays, CSS variables, or JavaScript arrays.
Unmanaged conversion
The math does not use an ICC profile, so the result will not match a specific printer or paper exactly. CMYK also has a smaller gamut than your screen, so bright blues and greens cannot be reproduced fully in ink. Use these numbers as an approximation, and convert through your print provider’s profile when accuracy matters.