Color Tools

Home
HEX to RGBHEX to CMYKColor Palette GeneratorOKLCH Color PickerTint & Shade GeneratorColor Contrast Checker

CMYK to HEX Color Converter

Convert CMYK print color values to HEX codes for web use

Your files never leave your browser
C
%
M
%
Y
%
K
%
HEX
#FFFFFF
RGB
255, 255, 255
HSL
0°, 0%, 100%
HSV/HSB
0°, 0%, 100%
CSS
rgb(255, 255, 255)
White TextBlack Text
White
#FFFFFF

Recent

No conversions yet

Common Print CMYK Colors

Batch CMYK to HEX Converter

Paste CMYK values, one per line. Format: C,M,Y,K (values 0-100)

Conversion Formula

R = 255 × (1 - C/100) × (1 - K/100)
G = 255 × (1 - M/100) × (1 - K/100)
B = 255 × (1 - Y/100) × (1 - K/100)

HEX = #RRGGBB (each channel as two-digit hex)

Drop your Cyan, Magenta, Yellow, and Black percentages into the sliders (or type them in) and get the hex code instantly — no manual math, no RGB middle-step headaches. Batch mode converts a whole list of CMYK values at once if you have an entire print palette to bring online. And everything runs in your browser. Nothing gets uploaded.

How It Works

CMYK Values
➔
Convert to RGB
➔
Output HEX Code

The formula is straightforward. Each RGB channel equals 255 × (1 − C/100) × (1 − K/100), where C is replaced by M or Y for the other two channels. Once you have R, G, and B as integers from 0 to 255, each one gets converted to a two-digit hexadecimal number. Stick a # in front, and that’s your hex code.

Examples

Brand Blue from a Print Style Guide

Your client’s brand book lists their blue as CMYK. You need the hex for their website header.

INPUT
C: 100 M: 57 Y: 0 K: 40
OUTPUT
#004299

Converting a Warm Red for Email Buttons

The marketing team printed flyers with a specific red and wants the email campaign to match.

INPUT
C: 0 M: 87 Y: 83 K: 6
OUTPUT
#F01F29

Batch Converting a Full Print Palette

You have five brand colors from a packaging file. Rather than converting them one at a time, paste the whole list into batch mode.

INPUT
0,0,0,100 0,0,0,0 100,0,0,0 0,100,0,0 0,0,100,0
OUTPUT
#000000 #FFFFFF #00FFFF #FF00FF #FFFF00

Who Uses This

🎨 Graphic Designers

Matching print brochure colors to the client’s website CSS.

💻 Web Developers

Grabbing hex codes from a brand style guide that only lists CMYK.

📨 Email Marketers

Getting the exact hex for HTML email buttons that match printed materials.

🏫 Students

Learning how CMYK-to-RGB math works for color theory assignments.

Common Mistakes

Entering values above 100

CMYK percentages range from 0 to 100. Typing 255 (an RGB habit) gives you garbage output. Double-check that each field is a percentage, not a 0–255 value.

Expecting exact color match on screen

CMYK and RGB cover different color ranges (gamuts). A deep print blue might not look identical on your monitor. The hex code is the closest mathematical equivalent, but side-by-side matching needs a calibrated display.

Forgetting the K (Black) channel

Some people only enter C, M, and Y, leaving K at zero. If the original color has K at 20 or 30, skipping it makes the result noticeably brighter than intended. Always check all four values.

Technical Details

Frequently Asked Questions

How accurate is CMYK to HEX conversion?

The math itself is exact. Each RGB channel is calculated as 255 × (1 − C/100) × (1 − K/100), and the result gets rounded to the nearest integer. The catch is that CMYK covers a different range of colors than RGB, so a few deep print shades won’t have a perfect hex match. For most everyday brand colors, the conversion is spot-on.

What is the difference between CMYK and HEX?

CMYK is a four-channel ink model for printers — Cyan, Magenta, Yellow, and Black mixed on paper. HEX is a six-character code representing red, green, and blue light on screens. They’re built for different worlds: CMYK subtracts light (ink on white paper), while HEX/RGB adds light (pixels on a dark screen).

Can I convert HEX back to CMYK?

Yes. Use our HEX to CMYK converter for the reverse direction. Just know that round-tripping (CMYK → HEX → CMYK) can produce slightly different numbers because of rounding and gamut differences.

Why does my converted color look different on screen than in print?

Screens emit light; paper absorbs it. Same color values, totally different physics. On top of that, your monitor’s brightness, color profile, and ambient lighting all shift how colors appear. A calibrated monitor with an ICC profile gets you closer, but a small difference between screen and print is normal.

Is the CMYK to HEX formula the same everywhere?

The standard mathematical formula is universal: R = 255 × (1−C) × (1−K). Professional tools like Photoshop may give slightly different results because they apply ICC color profiles on top of the raw math. This converter uses the standard formula, which matches what you’d get doing the calculation by hand.

Share: