CMYK to Hex Converter
Convert CMYK print percentages (Cyan, Magenta, Yellow, Key/Black 0-100%) to a HEX color code, with RGB, HSL, HSV and a live color swatch.
Input
Cyan ink, as a percentage from 0 to 100.
Magenta ink, as a percentage from 0 to 100.
Yellow ink, as a percentage from 0 to 100.
Key (black) ink, as a percentage from 0 to 100.
Output
| Property | Value |
|---|---|
| No data yet | |
Your color will appear here.
More ways to use this tool
REST API
curl -X POST https://api.iotools.cloud/v1/tool/cmyk-to-hex-converter \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cmykC": "0",
"cmykM": "60",
"cmykY": "100",
"cmykK": "0"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `cmyk-to-hex-converter` tool (CMYK to Hex Converter) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.
Embed widget
<iframe
src="https://iotools.cloud/embed/cmyk-to-hex-converter/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="CMYK to Hex Converter — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>Drop this into your own page — free, no key required, just a link back.
| Cost per API/MCP call | From 5 credits |
|---|---|
| Need more credits? | View pricing |
Also available with
Guides
Convert CMYK print ink percentages into an on-screen HEX color instantly. Enter the Cyan, Magenta, Yellow, and Key/Black values (each 0–100%) and the tool returns the equivalent hex code, plus rgb(), hsl(), and hsv() values and a live color swatch.
CMYK is a subtractive model built for printing, where inks absorb light and stacking all of them approaches black. RGB (and everything derived from it — hex, HSL, HSV) is an additive model built for light-emitting screens, where full intensity of every channel produces white. Because the two models describe color in opposite ways, going from a print spec — a Pantone bridge book, a press proof, a design brief — back to something you can preview or use in CSS needs the values translated first.
How to use it
- Type a value into each of the C, M, Y, and K fields (0–100%).
- Read the HEX and RGB results.
- Copy the HEX or RGB string, or download the full breakdown table (including HSL and HSV) as a CSV.
The conversion runs entirely in your browser as you type — nothing is uploaded to a server.
How the conversion works
The tool uses the standard mathematical CMYK→RGB formula. Each ink percentage is normalized to a 0–1 range and combined with the black (Key) component:
C' = C/100 M' = M/100 Y' = Y/100 K' = K/100
R = 255 * (1 - C') * (1 - K')
G = 255 * (1 - M') * (1 - K')
B = 255 * (1 - Y') * (1 - K')The resulting RGB triple is then converted to hex, HSL, and HSV using the standard formulas.
Why do the colors look different from my printed proof?
This is a device-independent mathematical conversion, not a color-managed one. Real presses reproduce color through ICC profiles tuned to a specific ink set, paper stock, and press condition (for example U.S. Web Coated SWOP or FOGRA39), and this formula doesn't know about any of that. Use this converter to get into the right ballpark for a screen preview or CSS value — for a proof that must match a print run exactly, do the final separation in Adobe Photoshop, Illustrator, or a RIP with the correct output profile.
Is this the reverse of a HEX to CMYK / RGB to CMYK converter?
Yes — this tool goes CMYK → RGB/HEX, the opposite direction from an RGB to CMYK Converter. Converting a hex color to CMYK is the same as converting its RGB values, since hex is just RGB written in base-16.