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.
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
- Enter red, green, and blue values from 0 to 255 — the RGB triplet from your design file, screen sampler, or brand spec.
- Or click the color picker to choose visually.
- Read the CMYK result: cyan, magenta, yellow, and black percentages that approximate the print output.
- 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
- Web-to-print workflows. A web-native brand being adapted to print collateral needs approximate CMYK values for its HEX colors.
- Print spec sheets. Freelancers and agencies include CMYK approximations in brand guidelines so printers have a starting point.
- Mockup previews. Before producing a print sample, converting RGB to CMYK tells you whether a color will survive the transition or shift dramatically.
- Gamut testing. Comparing RGB to CMYK reveals which of your brand colors will lose vibrancy on paper.
- Print quotes. Some printers require CMYK input even for jobs that will be re-separated internally — a starting CMYK saves a round-trip.
Common mistakes
- Shipping CMYK straight from the formula to a printer — always re-convert via their ICC profile.
- Expecting the printed result to match the screen — the screen shows emitted light, paper shows reflected light, and the two never match perfectly.
- Assuming CMYK 0/0/0/100 prints as "pure black" — press black is richer but flatter than screen black, and rich black (mixed CMYK) looks different again.
- Forgetting that different papers (coated, uncoated, matte, gloss) produce visibly different colors from the same CMYK values.
- Treating the conversion as reversible — it isn't, and round-tripping RGB → CMYK → RGB usually produces a different color.
RGB vs CMYK at a glance
| Attribute | RGB | CMYK |
|---|---|---|
| Channel count | 3 (R, G, B) | 4 (C, M, Y, K) |
| Value range | 0–255 | 0–100% |
| Color model | additive | subtractive |
| Gamut | wider | narrower |
| Reversible? | to CMYK: approximate | to RGB: approximate |
| Best for | screens |
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.