CMYK to HEX Converter

Convert CMYK print color values to a hex color code. Free, instant, and private.

Independently verified for accuracy

Calculator by Toolsloft ↗
Enter a c, m, y, k value to convert

Convert a CMYK print color to a hex code for the web. Enter the cyan, magenta, yellow, and black percentages and copy the six-digit hex result. Handy when a brand color is specified in CMYK and you need it for CSS.

How this is calculated

CMYK is first converted to RGB (each channel is 255 times one minus the ink amount times one minus black), then each channel is written as a two-digit hexadecimal byte. Print to screen conversion is an approximation because the color models differ.

How to use

  1. Enter the cyan, magenta, yellow, and black values, for example 75, 50, 0, 20.
  2. The hex code appears below as you type.
  3. Copy the hex value into your CSS or design tool.

Examples

  • 75, 50, 0, 20: #3366cc
  • 0, 100, 100, 0: #ff0000

FAQ

Is the hex an exact match for my printed color?
It is a close approximation. CMYK describes ink on paper and hex describes light on a screen, so the two gamuts do not line up perfectly.
Why is 0, 0, 0, 0 white?
With no ink at all, the paper (or the screen) shows through as white, which is #ffffff.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.