Skip to content
UniKit

CMYK to HEX Converter

Convert between CMYK and hex colours both ways: choose the black-plate or pure CMY profile and get #RRGGBB / #RRGGBBAA, cmyk() and device-cmyk() output with case and decimal controls, batch input and live preview.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Colour input (one per line)

Accepts cmyk()/device-cmyk(), four bare numbers (read as CMYK), rgb()/rgba(), percentage channels and HEX.

Result

One result per line, ready to paste into CSS.

Enter a colour to see the result

What this tool does

  • Turn the CMYK percentages a printer sent you into a hex colour for web or UI work.
  • Check in reverse: convert a design-file HEX into CMYK and compare it with the printer numbers.
  • Compare both profiles on dark colours, where the black plate and pure CMY results diverge most.

Example

Input

cmyk(0%, 100%, 100%, 0%)

Output

#ff0000

With the black-plate formula R = 255 × (1 − C) × (1 − K); C = 0% with M = Y = 100% and K = 0 gives pure red.

Frequently asked questions

Why is 0,100,100,0 read as CMYK?

In a CMYK tool four bare numbers are most naturally CMYK (the shorthand of cmyk()), while RGB bare numbers have only three components. Use rgba() or an 8-digit HEX for RGB with alpha to avoid ambiguity.

How far apart are the two profiles?

They agree on light colours and diverge on dark ones: #808080 is cmyk(0%, 0%, 0%, 49.8%) with the black plate and cmyk(49.8%, 49.8%, 49.8%, 0%) in pure CMY. Pure black becomes K = 100% versus C/M/Y = 100%.

Can I send the result straight to print?

No. There is no ICC profile, ink-limit or spot-colour handling here — it is a mathematical conversion. Let your printer separate colours for the actual press and paper.

What about hex colours with alpha?

When the input is #RRGGBBAA the output includes both the 8-digit hex and rgba(). CMYK has no alpha channel, so cmyk() only reflects the three RGB channels.

Keywords:cmyk2hexcmyk to hexhex to cmykdevice-cmyk

Related tools