Hex to CMYK Converter
Paste a hex code and get the closest CMYK equivalent in cyan, magenta, yellow and black percentages. This tool uses the standard mathematical conversion, the same starting point most design software applies before you fine-tune with an ICC profile.
Why hex codes and CMYK don't match perfectly
Hex codes describe light. Your screen mixes red, green and blue pixels to build a color, and hex is just that RGB mixture written in base 16. CMYK describes ink instead, four inks layered on paper to absorb light rather than emit it.
Screens can produce colors no combination of ink can reproduce, especially bright greens, certain blues and neon shades. When you convert hex to CMYK, the tool finds the nearest ink mix that's actually achievable, not an exact match.
How this converter calculates CMYK
- The hex code splits into red, green and blue values, each between 0 and 255.
- Every value is divided by 255 to normalize it to a 0 to 1 scale.
- Black (K) equals 1 minus whichever of red, green or blue is highest.
- Cyan, magenta and yellow are worked out from what's left once black is removed.
A quick example, using #2ECC71:
| Value | Hex | RGB | CMYK (approx) |
|---|---|---|---|
| Example | #2ECC71 | 46, 204, 113 | 77, 0, 45, 20 |
When you actually need CMYK values
- Preparing a print-ready file for business cards, brochures or packaging
- Sending brand colors to a print vendor
- Setting up a design file in InDesign or Illustrator for offset or digital press printing
- Checking whether a bright web color will look muddy once it's printed
Getting accurate results for a real print job
This converter gives you the standard, profile-free approximation. It's a good starting point for internal reference or a rough proof, but it isn't what a professional print run should rely on for final color matching.
Every printer, paper stock and ink set behaves differently, which is why print shops work from ICC color profiles like US Web Coated SWOP or FOGRA39 instead of a single formula. If color accuracy on the final product matters, for packaging, branded stationery or anything a client will hold up next to their logo, ask your print vendor for a profile-based proof or request a Pantone spot color match instead of relying on four-color process CMYK.
FAQ
Is CMYK from a hex code always accurate for printing?
No. It's a mathematical approximation that ignores paper type, ink set and printer calibration. For anything client-facing, get a physical proof from your print vendor before a full run.
Why does my printed color look duller than the hex value on screen?
Screens create color with light, so they can produce far more saturated blues, greens and purples than ink can reproduce on paper. Converting to CMYK moves the color into a range ink can actually achieve, which often means a slightly muted result.
What's the difference between CMYK and Pantone?
CMYK builds a color from four process inks layered on top of each other. Pantone (PMS) colors are pre-mixed spot inks, so they print more consistently and are the better choice when exact brand color matching matters.
Can I convert CMYK back to hex with this tool?
This page converts hex to CMYK. For the reverse direction, use our RGB to hex converter as the middle step, hex and CMYK describe the same color, the calculation just runs the other way.
Should I use CMYK or RGB when designing for a client?
Use RGB or hex for anything shown on a screen: websites, apps, social graphics. Switch to CMYK only when the final output is physical, printed material.