Color Converter (HEX, RGB, HSL)β†’Specialized Version
🎨

HEX to CMYK Converter

Convert HEX to CMYK

HEX in
#3B82F6
CMYK out
cmyk(76%, 47%, 0%, 4%)

CMYK here is the device-independent conversion. Print output also depends on the ICC profile your press uses, so treat these numbers as a starting point.

RGB
HSL

All formats

Lightness variations

HEX to CMYK Converter

Convert HEX web colors to CMYK print colors. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing, and converting from HEX ensures your digital colors translate accurately to print.

Understanding CMYK

CMYK is a subtractive color model used in printing:

  • C: Cyan (0-100%)
  • M: Magenta (0-100%)
  • Y: Yellow (0-100%)
  • K: Key/Black (0-100%)
Unlike RGB which adds light, CMYK subtracts light by absorbing certain wavelengths.

Why Convert to CMYK?

ScenarioReason
Print designPrinters use CMYK ink
Business cardsProfessional printing
Marketing materialsBrochures, flyers
PackagingProduct labels

HEX to CMYK Examples

ColorHEXCMYK
Red#FF0000C:0 M:100 Y:100 K:0
Blue#0000FFC:100 M:100 Y:0 K:0
Green#00FF00C:100 M:0 Y:100 K:0
Black#000000C:0 M:0 Y:0 K:100
White#FFFFFFC:0 M:0 Y:0 K:0

Color Gamut Warning

Not all RGB colors can be reproduced in CMYK. Vibrant blues and greens may appear duller in print. Always proof your colors before final printing.

Use this converter when preparing digital designs for professional printing.

HEX and CMYK

HEXCMYK
Syntax#RRGGBB, or #RGB shorthand, or #RRGGBBAA with alphacmyk(0%, 61%, 72%, 0%) β€” not valid CSS
Channelsred, green, blue β€” each 0–255 written as two hex digitscyan, magenta, yellow, key (black), each 0–100%
Precision8 bits per channel, 16.7 million coloursDepends entirely on the ICC profile and the press
SupportUniversal. The 8-digit alpha form needs a 2020-or-later browser.Print only. Browsers have no CMYK colour type.
Best forDesign handoff, CSS, anywhere a colour is written as a single token.Print production. Always confirm against the printer’s own profile.

A Worked Example

Taking CSS tomato through every format:

FormatValue
HEX#FF6347
RGBrgb(255, 99, 71)
RGBArgba(255, 99, 71, 0.5)
HSLhsl(9, 100%, 64%)
HSBhsb(9, 72%, 100%)
CMYKcmyk(0%, 61%, 72%, 0%)

What Gets Lost

RGB and CMYK do not cover the same gamut. Saturated screen colours β€” bright greens and oranges especially β€” have no CMYK equivalent and will come back duller in print. Treat the numbers below as a starting point and proof against the press profile.

Doing It in Code

``javascript // HEX to RGB const hexToRgb = (hex) => { const n = parseInt(hex.replace('#', ''), 16); return { r: (n >> 16) & 255, g: (n >> 8) & 255, b: n & 255 }; };

// RGB to HEX const rgbToHex = (r, g, b) => '#' + [r, g, b].map((v) => v.toString(16).padStart(2, '0')).join(''); `

Modern CSS can do a lot of this without any conversion at all: color-mix() blends two colours, and relative colour syntax β€” hsl(from var(--brand) h s calc(l + 10%))` β€” derives a lighter shade without you ever computing one.

Frequently Asked Questions

Why CMYK when working with HEX to CMYK?

CMYK is used for print production. Printers use cyan, magenta, yellow, and black inks.

Will colors look the same in print?

Not always. Some bright digital colors cannot be reproduced in print (out of gamut).

What is K in CMYK when working with HEX to CMYK?

K stands for Key (black). Pure black provides better contrast than mixing CMY.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need