Color Conversion Tools

CMYK to HEX

Preview a CMYK ink mix as a screen color and get its HEX code. Handy when a print spec or brand book only lists cyan, magenta, yellow and black and you need the color for a website or slide.

CMYK to HEX

Edit a channel and see the color result immediately.

Swap direction

Enter CMYK

Enter four percentages from 0 to 100. This uses an unprofiled screen approximation.

HEX result

Source color
Result color
#326799

CMYK is an unprofiled screen estimate. Use an ICC profile and a print proof for production.

The conversion runs in your browser.

All formats

HEX
#326799
RGB
rgb(50, 103, 153)
HSL
hsl(209.1, 50.7%, 39.8%)
HSV
hsv(209.1°, 67.3%, 60%)
CMYK
cmyk(67.3%, 32.7%, 0%, 40%)
OKLCH
oklch(50.1% 0.098 249.2)
CSS
≈ steelblue

Tints and shades

Text contrast (WCAG)

Aa5.94:1On whiteAA
Aa3.54:1On blackLarge text only

Normal text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.

How it was calculated

  1. R = 255 × (1 − 0.67) × (1 − 0.4) = 50.5 ≈ 50
  2. G = 255 × (1 − 0.33) × (1 − 0.4) = 102.5 ≈ 103
  3. B = 255 × (1 − 0) × (1 − 0.4) = 153 ≈ 153
  4. R: 50 = 3 × 16 + 2 → 32
  5. G: 103 = 6 × 16 + 7 → 67
  6. B: 153 = 9 × 16 + 9 → 99
  7. HEX = #326799

Common colors in CMYK and HEX

Choose a color to load it into the converter.

ColorCMYKHEX
cmyk(0%, 0%, 0%, 100%)#000000
cmyk(0%, 0%, 0%, 0%)#ffffff
cmyk(0%, 100%, 100%, 0%)#ff0000
cmyk(100%, 0%, 100%, 0%)#00ff00
cmyk(100%, 100%, 0%, 0%)#0000ff
cmyk(0%, 0%, 100%, 0%)#ffff00
cmyk(100%, 0%, 0%, 0%)#00ffff
cmyk(0%, 100%, 0%, 0%)#ff00ff
cmyk(0%, 0%, 0%, 49.8%)#808080
cmyk(0%, 100%, 100%, 49.8%)#800000
cmyk(100%, 0%, 100%, 49.8%)#008000
cmyk(100%, 100%, 0%, 49.8%)#000080
cmyk(0%, 35.3%, 100%, 0%)#ffa500
cmyk(61.1%, 27.8%, 0%, 29.4%)#4682b4
cmyk(33.3%, 66.7%, 0%, 40%)#663399
cmyk(0%, 61.2%, 72.2%, 0%)#ff6347

How to use

  1. Enter the four ink percentages from 0 to 100, using a dot for decimals.
  2. Look at the swatch and the HEX result; the calculation panel shows how each ink removes light from a channel.
  3. Copy the HEX code, and keep the original CMYK values for print.

Examples

A print orange

No cyan keeps red at full strength (ff). 60% magenta leaves 40% of green, which is 102 or 66, and 100% yellow removes all blue.

Input
cmyk(0%, 60%, 100%, 0%)
Output
#ff6600

When you need CMYK as HEX

Print specifications travel well in PDFs and brand books, but the web, presentations and UI tools all need screen colors. Converting CMYK to HEX helps when:

  • A brand book lists only CMYK for an older logo, and you are building the website.
  • You want to preview what a print designer specified before you approve it.
  • You are matching packaging online, for example a product page that should echo the box color.

How the conversion works

CMYK describes ink, which subtracts light. Each ink removes one screen channel, and black dims all three. For cmyk(0%, 60%, 100%, 0%):

  • R = 255 × (1 − C) × (1 − K) = 255 × 1 × 1 = 255 → ff
  • G = 255 × (1 − 0.6) × 1 = 102 → 66
  • B = 255 × (1 − 1) × 1 = 0 → 00

The result is #ff6600. The calculation panel shows the same multiplication for your mix, including the rounding to whole channels.

Keep expectations realistic

This is the standard naïve conversion that most online tools use. Professional software converts through an ICC profile for a specific paper and press, and its screen preview can differ noticeably, especially for rich blacks and saturated blues. Treat the HEX result as a faithful idea of the color, and use a printed proof for decisions.

To go from a screen color to an ink estimate, use HEX to CMYK. To see the channels as numbers instead, open CMYK to RGB.

Frequently asked questions

Why does the screen color look brighter than the printed sample?

This formula has no paper or ink profile. Printed colors are limited by the ink and paper, while the screen shows the ideal mix. Compare against a physical swatch when accuracy matters.

Do I need CMYK in a website?

No. Browsers do not render CMYK, so websites use the HEX or RGB result. Keep CMYK for print files.

What if the total ink is above 300%?

The converter still calculates a screen color, but most presses limit total ink to around 280–320%. A spec like 100/100/100/100 is usually a mistake or a registration color.

Can two different CMYK mixes give the same HEX?

Yes. Black can replace equal parts of cyan, magenta and yellow, so several ink mixes look identical on screen. The HEX result cannot tell them apart.

Is anything uploaded?

No. The conversion runs entirely in your browser.

Related tools