Color Conversion Tools

HEX to CMYK

Estimate the cyan, magenta, yellow and black percentages for a HEX screen color. A quick starting point for a print brief or brand sheet, with a clear reminder that real print colors need a printer profile.

HEX to CMYK

Edit a channel and see the color result immediately.

Swap direction

Enter HEX

Enter #RGB or #RRGGBB. These pair converters use opaque colors.

CMYK result

Source color
Result color
cmyk(66.7%, 33.3%, 0%, 40%)

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
#336699
RGB
rgb(51, 102, 153)
HSL
hsl(210, 50%, 40%)
HSV
hsv(210°, 66.7%, 60%)
CMYK
cmyk(66.7%, 33.3%, 0%, 40%)
OKLCH
oklch(49.9% 0.099 250.4)
CSS
≈ steelblue

Tints and shades

Text contrast (WCAG)

Aa6.00:1On whiteAA
Aa3.50: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 = 33₁₆ = 3 × 16 + 3 = 51
  2. G = 66₁₆ = 6 × 16 + 6 = 102
  3. B = 99₁₆ = 9 × 16 + 9 = 153
  4. R′ = 51 ÷ 255 = 0.2, G′ = 0.4, B′ = 0.6
  5. K = 1 − max(R′, G′, B′) = 0.4 = 40%
  6. C = (1 − R′ − K) ÷ (1 − K) = 66.7%, M = 33.3%, Y = 0%

Common colors in HEX and CMYK

Choose a color to load it into the converter.

ColorHEXCMYK
#000000cmyk(0%, 0%, 0%, 100%)
#ffffffcmyk(0%, 0%, 0%, 0%)
#ff0000cmyk(0%, 100%, 100%, 0%)
#00ff00cmyk(100%, 0%, 100%, 0%)
#0000ffcmyk(100%, 100%, 0%, 0%)
#ffff00cmyk(0%, 0%, 100%, 0%)
#00ffffcmyk(100%, 0%, 0%, 0%)
#ff00ffcmyk(0%, 100%, 0%, 0%)
#808080cmyk(0%, 0%, 0%, 49.8%)
#800000cmyk(0%, 100%, 100%, 49.8%)
#008000cmyk(100%, 0%, 100%, 49.8%)
#000080cmyk(100%, 100%, 0%, 49.8%)
#ffa500cmyk(0%, 35.3%, 100%, 0%)
#4682b4cmyk(61.1%, 27.8%, 0%, 29.4%)
#663399cmyk(33.3%, 66.7%, 0%, 40%)
#ff6347cmyk(0%, 61.2%, 72.2%, 0%)

How to use

  1. Enter the HEX code of the screen color, for example a brand red such as #e63946.
  2. Read the four CMYK percentages; the calculation panel shows how black is taken out first.
  3. Copy the estimate for your brief, then confirm it with your printer's ICC profile or a physical proof.

Examples

A brand red

Red is the strongest channel, so cyan is 0%. Black is 1 − 230 ÷ 255 = 9.8%, and magenta and yellow cover the missing green and blue.

Input
#e63946
Output
cmyk(0%, 75.2%, 69.6%, 9.8%)

Why convert HEX to CMYK

Most brand colors start life on screen as a HEX code. As soon as the same logo goes on a business card, a poster or packaging, someone asks for CMYK. This page answers the first question in that conversation: roughly how much of each ink?

Typical uses:

  • Filling in a brand sheet that lists HEX, RGB and CMYK side by side.
  • Briefing a printer or designer before they apply a real profile in InDesign or Illustrator.
  • Spotting risky colors early. If a color needs high values in three inks, it may print darker or duller than it looks on screen.

How the estimate is calculated

The HEX code is first read as channels between 0 and 1. For #e63946 that is R′ = 0.902, G′ = 0.224 and B′ = 0.275.

  1. Black (K) is what is missing from the brightest channel: K = 1 − 0.902 = 9.8%.
  2. Cyan, magenta and yellow cover the rest of each channel, scaled by what black leaves: C = (1 − R′ − K) ÷ (1 − K), and the same for M with green and Y with blue.

That gives cmyk(0%, 75.2%, 69.6%, 9.8%). The calculation panel repeats the steps for your own color.

What this estimate cannot do

There is no single correct CMYK for a screen color. Coated and uncoated paper, ink limits and press calibration all change the answer, which is why professional work uses ICC profiles such as FOGRA39 or GRACoL. Use this result to communicate intent, then let the print workflow produce the final separations.

If you already have CMYK and want the screen color back, use CMYK to HEX. For channel numbers, see RGB to CMYK.

Frequently asked questions

Will my printer reproduce exactly this color?

Not necessarily. This is a device-independent formula without a color profile. Paper, ink and press settings change the result, so treat it as an estimate and ask your printer for a proof.

Why is cyan 0% for a red?

Cyan absorbs red light. A color whose red channel is the strongest needs no cyan, so the formula sets it to zero and uses magenta, yellow and black instead.

Why do some bright screen colors look dull in print?

Screens mix light and can show colors that ink on paper cannot. Very saturated blues, greens and oranges are often outside a printer's gamut and are reproduced as the nearest printable color.

What is rich black?

A HEX of #000000 converts to 0/0/0/100. Printers often recommend a rich black that adds some cyan, magenta and yellow for large dark areas. Ask your print shop for their recipe.

Does the conversion use my data on a server?

No. The estimate is calculated in your browser.

Related tools