RGB to CMYK Converter

An RGB to CMYK converter turns screen color channels into print ink percentages. For example, rgb(254, 80, 0) becomes CMYK 0/69/100/0 — an orange. The result is a starting point, not a final print spec: the printer's ICC profile, ink set, and paper will shift the numbers in production.

or pick a color

What is RGB to CMYK conversion?

RGB is an additive color model for screens: red, green, and blue light combine on a display to produce every visible color, with each channel ranging 0–255. Add them all to maximum (255/255/255) and you get white light. Turn them all off (0/0/0) and you get black.

CMYK is a subtractive model for print: cyan, magenta, yellow, and black inks absorb light, and the eye sees whatever reflects back. Values range 0–100 percent per channel. Zero ink on white paper produces white, and full ink coverage produces near-black.

The conversion translates "how much light is emitted" into "how much ink is absorbed." It is not symmetric — many CMYK combinations produce the same RGB, so the reverse is ambiguous. Printers resolve the ambiguity with their ICC profile, dot gain compensation, and press calibration. Designers should treat the RGB-to-CMYK formula as a preview, not a promise.

How to use this converter

  1. Enter red, green, and blue values from 0 to 255 — the RGB triplet from your design file, screen sampler, or brand spec.
  2. Or click the color picker to choose visually.
  3. Read the CMYK result: cyan, magenta, yellow, and black percentages that approximate the print output.
  4. Click Copy for a clean CMYK string to paste into a design tool, print spec, or email to a printer.

How the conversion works technically

The formula runs in two stages. First, compute black: K = 1 − max(R, G, B) / 255. If any channel is fully on (255), K is 0 and the color is "pure" — no black ink needed. If all channels are low (near 0), K approaches 1 and the color is close to black.

Second, compute each ink: C = (1 − R/255 − K) / (1 − K), and the same for M with G and Y with B. Multiply by 100 to get a percentage. The formula is a "no-GCR" conversion: it extracts black first and prints the color inks on top, which matches the standard Adobe and CSS conversions but produces higher black coverage than a professional press would use.

Working the example rgb(254, 80, 0). max = 254, so K = 1 − 254/255 = 0.0039 → 0% after rounding. Then C = (1 − 254/255 − 0) / 1 = 0.0039 → 0%. M = (1 − 80/255 − 0) / 1 = 0.686 → 69%. Y = (1 − 0/255 − 0) / 1 = 1 → 100%. Result: CMYK 0/69/100/0.

Accuracy and limitations

The naive formula does not account for ink behavior. Real inks bleed, overprint, and vary by manufacturer. Paper reflects less than 100 percent of light. Press calibration shifts every channel. Two printers receiving CMYK 20/40/60/10 from you will output visibly different colors.

For any job where color accuracy matters — packaging, brand collateral, magazine print — convert through an ICC profile: FOGRA39 for European coated, GRACoL or SWOP for US coated, and UncoatedFOGRA29 for uncoated stock. Free ICC tools from the International Color Consortium handle this. This page's converter is for understanding how RGB colors translate to CMYK concepts, and for rough mockups — not for final production.

A subtle point: gamut clipping. Many RGB colors — pure greens, saturated cyans, neon pinks — fall outside CMYK's gamut. The conversion returns the nearest in-gamut CMYK, which will appear noticeably duller than the on-screen RGB. A designer previewing this conversion is seeing what the print will look like, not the RGB. That's the point, but it surprises people who expect the printed color to "match" the screen.

Use cases

Common mistakes

RGB vs CMYK at a glance

AttributeRGBCMYK
Channel count3 (R, G, B)4 (C, M, Y, K)
Value range0–2550–100%
Color modeladditivesubtractive
Gamutwidernarrower
Reversible?to CMYK: approximateto RGB: approximate
Best forscreensprint

Frequently asked questions

How do I convert RGB to CMYK?

Step one: K = 1 − max(R, G, B) / 255. Step two: C = (1 − R/255 − K) / (1 − K), and the same for M and Y using G and B. Multiply each result by 100 for percentages. For example rgb(254, 80, 0) becomes CMYK 0/69/100/0.

Is RGB to CMYK conversion reversible?

No. Because multiple CMYK values can produce the same RGB (different ink mixes hitting the same reflected light), conversion is a one-way mapping. Converting RGB to CMYK and back usually returns a slightly different RGB than you started with, especially for saturated colors.

What RGB values produce pure black in CMYK?

rgb(0, 0, 0). K = 1 − 0/255 = 1, so C, M, and Y all become 0 because the formula multiplies by (1 − K) which is 0. Result: CMYK 0/0/0/100 — pure black ink only, no color mix. This is standard behavior for print black.

Why do bright RGB colors look duller after CMYK conversion?

CMYK has a smaller gamut than RGB. Pure greens, electric blues, and neon oranges exist outside what four inks can reproduce on paper. The conversion formula returns the closest CMYK a press can produce, which is muted. This is called gamut clipping or gamut compression.

Which should I use for print projects?

For final print production, use CMYK with an ICC profile that matches the printer’s process — not a naive formula. For previews and prototyping, the formula on this page is fine. For brand systems, define both RGB and CMYK values (or use spot colors) and verify each with printed proofs.

Related converters

Last reviewed: