CMYK to HEX Converter

Enter the four CMYK percentages from your print file and you get the HEX and RGB values for your website, worked out with the standard formula (red = 255 × (1 − C) × (1 − K), and the same for green and blue). It also works backwards from HEX, and collects several colours into a CSS palette.

Print and screen colour, side by side
Print (CMYK)Screen (RGB / HEX)
How colour is madeInk absorbs light from white paperPixels emit red, green and blue light
Values0-100% of each ink0-255 per channel
Exact matchDepends on paper, ink and pressDepends on the display

Updated

Turn the colours from a printed brand guide into values a website can use, or go the other way for a print job. Each colour shows its HEX, RGB and CSS forms, the closest Tailwind class, and a warning when the ink total is higher than most printers accept.

Sample conversions

Sample CMYK values and the HEX the standard formula gives (not a press match)
ColourCMYKHEX
Process cyan100, 0, 0, 0#00FFFF
Process magenta0, 100, 0, 0#FF00FF
Process yellow0, 0, 100, 0#FFFF00
Plain black0, 0, 0, 100#000000
Rich black60, 40, 40, 100#000000
Warm red0, 85, 80, 0#FF2633
Leaf green65, 0, 100, 10#50E600
Navy100, 80, 0, 40#001F99
Light grey0, 0, 0, 15#D9D9D9

Why there is no single right answer

CMYK numbers are instructions to a printing press: how much of each ink to lay down. The colour you get depends on the paper's whiteness, how much ink it absorbs, the exact inks and how the press is set up. Two printers given the same CMYK values can produce visibly different results.

Screens have their own variation, but HEX values are at least defined against a standard, sRGB. So when converting, the honest approach is a known formula, a clear label that the result is approximate, and a check by eye or against a proof.

Moving a print brand to the web

Start with whatever your brand guide says for screens. If it only has CMYK, convert each colour here, then compare the swatches with a printed piece next to your monitor in daylight. Nudge the HEX until it looks right, and record the result in the guide so everyone uses the same value.

Then check the new colours as text and backgrounds with the contrast checker. A colour that looks rich in print may be too light for small text on a white web page.

How it works

  1. Type CMYK values into the four boxes, or paste them in one go, such as 0, 85, 80, 0 or cmyk(0%, 85%, 80%, 0%).
  2. Read the HEX, RGB and CSS values and the swatch. Copy any of them with one click.
  3. To go from screen to print, type a HEX value instead. The CMYK shown is the simple, profile-free conversion, so ask your printer to check it against their press.
  4. Add colours to the palette as you go, then copy the whole set as CSS custom properties or a Tailwind theme block.

Tips

Frequently asked questions

How do I convert CMYK to HEX?

Work out each RGB channel with 255 × (1 − ink) × (1 − black), using the inks as fractions: cyan gives red, magenta gives green, yellow gives blue. Then write each channel as two hexadecimal digits. CMYK 0, 85, 80, 0 gives RGB 255, 38, 51, which is #FF2633. This tool does the sums for you.

Why does my printed colour look different from the screen?

Screens make colour by adding light and can show brighter, more saturated colours than ink on paper. Printed colour also changes with the paper, the ink set, the press and the light it is seen under. A formula cannot know those things, so any CMYK to HEX conversion is a close starting point, not a guarantee.

Can I convert Pantone to HEX here?

No. Pantone colour values belong to Pantone, so we do not include them. Use the official Pantone Connect app or the HEX value in your brand guide. If you only have a Pantone number, your designer or printer can give you the screen value Pantone publishes for it.

Is the HEX to CMYK direction accurate?

It gives the textbook conversion, which puts as much as possible into black ink. Professional software uses colour profiles for the specific paper and press and will give different numbers. Use the result to brief a printer, not to send final artwork.

What does the Tailwind match mean?

It is the colour in Tailwind's default palette that looks closest to yours, measured in the OKLab colour space. Under 2 is very hard to tell apart; above about 5 the difference is visible, so use your exact HEX instead.

Related: Color converter (every CSS format), Color contrast checker, HTML color names, Color palette generator, All free tools.

Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.

More in Free Tools

We.Inc is an AI-powered website builder you can resell under your own brand. Launch a branded client dashboard, bill on Stripe Connect, and deliver AI-generated websites in minutes. White-label plans start at $99 a month for 25 client sites, with a 7-day free trial and no per-site fees.

Product

Who It's For

Features

Resources

Company

View Sitemap