Loona Automation logoLoona Developer Tools
Home › Color Converters

HEX to CMYK Converter

In short: enter a color in HEX and get its exact CMYK value — plus a swatch and every other common format for free.
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

About

HEX is CSS's compact notation: #RRGGBB, one byte per channel, with the 3-digit shorthand doubling each nibble (#F00 = #FF0000). Converting to CMYK: cMYK is print: cyan, magenta, yellow and key (black) inks subtract light from paper. Conversion from RGB is approximate because screens show colors ink cannot reproduce — the gamut problem every print designer knows. The converter parses the HEX input (it also tolerates the other notations, because real-world color strings arrive mixed), converts through RGB with standard color math, and rounds to whole units the way CSS and design tools display them — sub-percent precision differences versus other converters are rounding, not error.

Frequently Asked Questions

Is the HEX to CMYK conversion exact?

The color math is exact; displayed values are rounded to integers/whole percents as tools universally show them. Returning through the inverse conversion can differ by one unit at most.

Why do print (CMYK) colors look duller?

Ink on paper cannot reproduce the brightest screen colors (gamut). The CMYK values are the closest printable approximation, not the same color.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.