๐จ๏ธ RGB to CMYK Converter
By Shihab Mia ยท Updated 2026-08-01
Live preview
Cyan
0.0%
Magenta
0.0%
Yellow
0.0%
Key (Black)
0.0%
C: 0.0%, M: 0.0%, Y: 0.0%, K: 0.0%
This RGB to CMYK converter takes your red, green, and blue values (0 to 255 each) and returns the matching cyan, magenta, yellow, and key (black) percentages used for print. Type in R, G, and B and the cyan, magenta, yellow, and key figures update instantly alongside a live color swatch, so you can sanity-check a color before sending artwork to a printer. It uses the standard device-independent RGB to CMYK formula, the same math designers rely on when a print shop asks for CMYK values instead of a screen color.
What is the RGB to CMYK Converter?
RGB and CMYK describe color in two fundamentally different ways. RGB is an additive model: screens start from black and add red, green, and blue light to build up brighter colors, which is why full red, green, and blue together makes white. CMYK is subtractive: a printer starts from white paper and subtracts light by layering cyan, magenta, yellow, and black ink, so combining all four inks moves toward black rather than white. Converting RGB to CMYK is necessary any time content built for a screen (a logo, a web graphic, a photo) needs to be printed accurately, because a printer cannot interpret RGB values directly.
The RGB to CMYK conversion this tool uses first finds K, the key (black) channel, by taking one minus the largest of the normalized red, green, and blue values. K represents how much black ink is needed: a pure white pixel (255, 255, 255) needs no black at all, while a pure black pixel (0, 0, 0) needs full black. Once K is known, cyan, magenta, and yellow are each calculated from the remaining channels adjusted for how much black is already being used, so the four percentages together reproduce the original color using ink instead of light.
Because RGB to CMYK is a mathematical approximation rather than a perfect one-to-one mapping, the same RGB value can print slightly differently depending on the printer, ink set, and paper stock. Professional print workflows use ICC color profiles calibrated to a specific press to get a closer match, and the generic formula used here (and by most free rgb to cmyk converter tools) is a reliable starting point rather than a press-ready final answer. It is accurate for previewing how a color will roughly translate to ink and for quick design decisions, but for critical brand colors going to a commercial printer, always request a physical proof.
A common mix-up is assuming CMYK is simply "the opposite" of RGB, but the two color spaces have different gamuts. Some bright, saturated colors that look vivid in RGB (especially certain blues, greens, and neons) cannot be reproduced exactly with CMYK ink and will appear duller once printed. This is normal and expected: this rgb to cmyk converter shows you the mathematically correct CMYK values for a given RGB input, but it cannot make an out-of-gamut color print exactly as bright as it looks on a monitor.
When to use it
- Converting a brand logo's RGB hex color to CMYK percentages before sending files to a print shop.
- Checking how a web design color will roughly translate to ink for business cards, flyers, or packaging.
- Communicating exact CMYK build values to a printer when only an RGB or hex code is available.
- Learning how the additive (RGB) and subtractive (CMYK) color models relate to each other for design or print production courses.
How to use the RGB to CMYK Converter
- Enter the Red value (0 to 255) in the R field.
- Enter the Green value (0 to 255) in the G field.
- Enter the Blue value (0 to 255) in the B field.
- Read the Cyan, Magenta, Yellow, and Key percentages, and use "Copy CMYK" to copy the result.
Formula & method
Worked examples
Converting a mid-tone blue, RGB(51, 123, 255), to CMYK for a print job.
- Normalize: R = 51/255 = 0.2, G = 123/255 = 0.4824, B = 255/255 = 1
- K = 1 - max(0.2, 0.4824, 1) = 1 - 1 = 0
- C = (1 - 0.2 - 0) / (1 - 0) = 0.8 -> 80.0%
- M = (1 - 0.4824 - 0) / (1 - 0) = 0.5176 -> 51.8%
- Y = (1 - 1 - 0) / (1 - 0) = 0 -> 0.0%
Result: C 80.0%, M 51.8%, Y 0.0%, K 0.0%
Converting a warm brand orange, RGB(230, 126, 34), to CMYK.
- Normalize: R = 230/255 = 0.902, G = 126/255 = 0.4941, B = 34/255 = 0.1333
- K = 1 - max(0.902, 0.4941, 0.1333) = 1 - 0.902 = 0.098 -> 9.8%
- C = (1 - 0.902 - 0.098) / (1 - 0.098) = 0 / 0.902 = 0 -> 0.0%
- M = (1 - 0.4941 - 0.098) / 0.902 = 0.4079 / 0.902 = 0.4522 -> 45.2%
- Y = (1 - 0.1333 - 0.098) / 0.902 = 0.7687 / 0.902 = 0.8522 -> 85.2%
Result: C 0.0%, M 45.2%, Y 85.2%, K 9.8%
Common colors: RGB values and their converted CMYK percentages
| Color | RGB | CMYK (C, M, Y, K) |
|---|---|---|
| Pure white | 255, 255, 255 | 0.0%, 0.0%, 0.0%, 0.0% |
| Pure black | 0, 0, 0 | 0.0%, 0.0%, 0.0%, 100.0% |
| Pure red | 255, 0, 0 | 0.0%, 100.0%, 100.0%, 0.0% |
| Pure green | 0, 255, 0 | 100.0%, 0.0%, 100.0%, 0.0% |
| Pure blue | 0, 0, 255 | 100.0%, 100.0%, 0.0%, 0.0% |
| Middle gray | 128, 128, 128 | 0.0%, 0.0%, 0.0%, 49.8% |
RGB vs CMYK: quick comparison
| Aspect | RGB | CMYK |
|---|---|---|
| Color model | Additive (light) | Subtractive (ink) |
| Starting point | Black, add light | White paper, subtract light with ink |
| Used for | Screens, digital design | Commercial and home printing |
| Channels | Red, Green, Blue | Cyan, Magenta, Yellow, Key (Black) |
| Max combined result | All channels at max = white | All channels at max = rich black |
Common mistakes to avoid
- Assuming CMYK values will print exactly as they appear on screen. CMYK ink has a smaller color gamut than RGB light. Bright, saturated screen colors, especially certain blues and greens, can look duller once printed even with mathematically correct CMYK values.
- Skipping a printer proof for important brand colors. This calculator uses the standard generic RGB to CMYK formula, but real presses vary by ink set, paper, and calibration. Always request a physical or soft proof before a large print run.
- Forgetting that K is calculated first. Cyan, magenta, and yellow all depend on the value of K in their formula. If K is wrong (for example from rounding RGB values incorrectly), every other channel will be off too.
- Mixing up CMYK percentages with 0-255 CMYK scales. Some software displays CMYK on a 0-255 scale instead of 0-100%. Always confirm which scale a print vendor or design tool expects before entering values.
Glossary
- RGB
- An additive color model using Red, Green, and Blue light, each on a 0-255 scale, used by screens and digital devices.
- CMYK
- A subtractive color model using Cyan, Magenta, Yellow, and Key (black) ink, expressed as percentages, used for printing.
- Key (K)
- The black ink channel in CMYK. It is calculated first from the darkest (largest) RGB channel and reduces how much C, M, and Y ink is needed.
- Color gamut
- The full range of colors a device or process can reproduce. CMYK print has a smaller gamut than RGB screens, so some colors cannot be matched exactly.
- Rich black
- A deep black created in print by combining high percentages of C, M, Y, and K ink together, rather than using K alone, for a denser appearance.
- ICC color profile
- A calibration file describing exactly how a specific printer, ink, and paper combination renders color, used for more accurate RGB to CMYK matching than the generic formula.
Frequently asked questions
How do you convert RGB to CMYK?
Normalize R, G, and B to a 0-1 scale by dividing by 255, then compute K as 1 minus the largest of the three. Cyan, magenta, and yellow are each found from the remaining channels adjusted for K, then all four values are multiplied by 100 to get percentages.
Is RGB to CMYK conversion exact?
The math is exact for the formula itself, but it is a generic approximation of how a color will actually print. Real presses vary by ink, paper, and calibration, so the converted CMYK values are a close estimate rather than a guaranteed print match.
Why does my printed color look different from the screen?
RGB screens use light and can display a wider, more vivid range of colors than CMYK ink on paper can reproduce. Some bright RGB colors fall outside the CMYK gamut, so they print noticeably duller even with a correct conversion.
What is the K value in CMYK?
K stands for Key, the black ink channel. It is calculated first, as 1 minus the maximum of the normalized red, green, and blue values, and it reduces the amount of cyan, magenta, and yellow ink needed to produce the correct shade.
Can CMYK values be converted back to RGB?
Yes, a separate reverse formula converts C, M, Y, and K percentages back to R, G, and B values, but the round trip is not always perfectly reversible because CMYK cannot represent every RGB color exactly.
Why is pure black RGB(0,0,0) not just 100% K in every CMYK build?
Mathematically, RGB(0,0,0) converts to 0% C, 0% M, 0% Y, and 100% K using this formula. In professional printing, however, designers often use a "rich black" mix of C, M, Y, and K together instead of K alone, because K-only black can look flat on paper.