HEX to CMYK Converter
Take the hex code from a brand guide or a website and get the CMYK percentages a printer can actually work with.
Example conversion
#dc143c
converts to
cmyk(0%, 91%, 73%, 14%)
About HEX to CMYK conversion
This is the conversion that happens when a digital brand meets a printer. Your hex code came from a website, a logo file or a design system - it describes light on a screen. The printer needs ink percentages. Converting takes the six hexadecimal digits, reads them back into red, green and blue channels, and then works out how much cyan, magenta, yellow and black ink reproduces that color on white paper.
Because hex is only a notation for RGB, this is really an RGB to CMYK conversion with an extra decoding step at the front - and it inherits the same caveat. Screens can display saturated colors that four process inks cannot reach, so a punchy hex code may come back as an ink mix that prints noticeably calmer than it looks on your monitor. The value you get is the closest printable version, which is exactly what you want to know before the job goes on press.
When should you use HEX to CMYK?
- Printing something branded - business cards, letterheads, signage or merchandise using a color defined on the web.
- Completing a brand guide - documenting the print equivalent alongside the hex and RGB values.
- Briefing a print supplier - most want ink percentages, not a hex code they have to interpret themselves.
- Checking how print-friendly a color is - a hex code that converts to very heavy ink coverage is a warning worth having early.
How the conversion works
The hex code is decoded pair by pair into red, green and blue values from
0 to 255, then those are scaled to 0-1 and run through the standard
subtractive formula. Black comes from the brightest channel, K = 1 -
max(R, G, B), and the three inks cover what remains:
C = (1 - R - K) / (1 - K)M = (1 - G - K) / (1 - K)Y = (1 - B - K) / (1 - K)
Take #0d6efd: the channels are 13, 110 and 253, the
brightest is 253, so K is about 1%, and the mix works out to roughly 95%
cyan, 57% magenta and 0% yellow. This is the standard mathematical
conversion without an ICC profile, so it does not account for a particular
press, paper or ink set.
HEX vs CMYK
- Medium - hex is a web notation for emitted light; CMYK describes ink absorbed and reflected by paper.
- Format - one six-character string versus four separate percentages.
- Range - hex can express 16.7 million colors, many of which four-color printing cannot reproduce.
- Precision - hex values are exact and reproducible on any screen; printed CMYK varies with press, ink and paper stock.
- Audience - hand hex to developers, CMYK to printers. A complete brand guide lists both.
Named CSS colors in HEX and CMYK
The sixteen basic CSS color keywords plus eight more that come up constantly, each shown in both models side by side. Pick any row to drop that color into the converter and read it in the other eight models too.
Frequently asked questions
Will my brand color look the same in print?
Similar, rarely identical. Vivid hex colors - especially bright greens, cyans and oranges - fall outside what four process inks can reach, so they print slightly muted. If a brand color has to match exactly across a print run, consider a Pantone spot ink instead of a process build.
Why does my hex code convert to over 200% total ink?
Add the four percentages together and you get the total ink coverage. Saturated dark colors can exceed what a press can physically hold on paper - many printers cap total coverage around 240-300% depending on stock. If your conversion lands above that, ask your printer for an adjusted build.
Can I go straight from CMYK back to a hex code?
Yes, use the CMYK to HEX converter. Remember the round trip is not guaranteed to return your original hex: if the color was outside the print gamut, you get the printable equivalent back.
Is this the same as converting RGB to CMYK?
Effectively yes - hex is simply RGB written in base 16, so the code is decoded to channels first and then converted. Use RGB to CMYK if your starting values are already separate numbers.
What about Pantone colors?
Pantone inks are premixed and proprietary, so there is no formula that converts a hex code into a Pantone number. Use Pantone's own published bridge values, or ask your printer to match against a physical swatch book.