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

RGB to CMYK Converter

Convert RGB to CMYK

RGB in
rgb(59, 130, 246)
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

RGB to CMYK Converter

Convert RGB screen colors to CMYK print colors. This conversion is essential when preparing digital designs for professional printing, as printers use CMYK (Cyan, Magenta, Yellow, Key/Black) ink.

Understanding the Conversion

RGB and CMYK are fundamentally different:

AspectRGBCMYK
ModelAdditive (light)Subtractive (ink)
MediumScreensPrint
WhiteAll colors combinedNo ink
BlackNo lightAll colors or K ink

RGB to CMYK Examples

ColorRGBCMYK
Redrgb(255, 0, 0)C:0 M:100 Y:100 K:0
Greenrgb(0, 255, 0)C:100 M:0 Y:100 K:0
Bluergb(0, 0, 255)C:100 M:100 Y:0 K:0
Orangergb(255, 165, 0)C:0 M:35 Y:100 K:0

Color Gamut Limitations

Some RGB colors cannot be reproduced in CMYK:

RGB ColorCMYK Issue
Neon colorsToo bright for ink
Electric blueAppears duller
Lime greenShifts toward yellow

Print Preparation Tips

1. Convert to CMYK early in the design process 2. Use Pantone colors for brand accuracy 3. Print proofs before final production 4. Ensure 300 DPI resolution for print

Use this converter when preparing digital designs for professional print production.

RGB and CMYK

RGBCMYK
Syntaxrgb(255 99 71) in modern CSS, rgb(255, 99, 71) in the legacy comma formcmyk(0%, 61%, 72%, 0%) β€” not valid CSS
Channelsred, green, blue β€” 0–255 or 0–100%cyan, magenta, yellow, key (black), each 0–100%
Precision8 bits per channel as normally written; CSS accepts fractional valuesDepends entirely on the ICC profile and the press
SupportUniversal. The space-separated form needs a 2020-or-later browser.Print only. Browsers have no CMYK colour type.
Best forProgrammatic colour manipulation, canvas work, image pixel data.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

RGB vs CMYK when working with RGB to CMYK?

RGB is for screens (additive light), CMYK is for print (subtractive ink).

Why do printed colors look different?

CMYK has a smaller color gamut than RGB, so some bright colors appear duller.

When should I convert to CMYK?

Convert before sending to a professional printer to ensure accurate colors.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need