How this conversion is calculated
- Scale RGB to 0 to 1: R 0.388, G 0.4, B 0.945.
- Black K = 1 - max(R, G, B) = 5.5%.
- C = (1 - R - K) / (1 - K) = 58.9%, M = 57.7%, Y = 0%.
- This is the plain formula. Print shops convert with an ICC profile, which gives different numbers.
Code snippets
color: #6366F1;--brand: #6366F1;$brand: #6366F1;UIColor(red: 0.388, green: 0.4, blue: 0.945, alpha: 1)Color(red: 0.388, green: 0.4, blue: 0.945, opacity: 1)<color name="brand">#6366F1</color>Color(0xFF6366F1)Color.argb(255, 99, 102, 241)Color(0xFF6366F1)new Color32(99, 102, 241, 255)Color.FromArgb(255, 99, 102, 241)(99, 102, 241)Convert a list
Paste up to 1,000 values, one per line. Each line is converted to CMYK.
More color formats (HWB, LAB, LCH, OKLab, XYZ and more)
Common colors reference table
Click a name to load it into the converter.
| Color | HEX | RGB | CMYK |
|---|---|---|---|
| #000000 | rgb(0, 0, 0) | 0%, 0%, 0%, 100% | |
| #FFFFFF | rgb(255, 255, 255) | 0%, 0%, 0%, 0% | |
| #FF0000 | rgb(255, 0, 0) | 0%, 100%, 100%, 0% | |
| #00FF00 | rgb(0, 255, 0) | 100%, 0%, 100%, 0% | |
| #0000FF | rgb(0, 0, 255) | 100%, 100%, 0%, 0% | |
| #FFFF00 | rgb(255, 255, 0) | 0%, 0%, 100%, 0% | |
| #00FFFF | rgb(0, 255, 255) | 100%, 0%, 0%, 0% | |
| #FF00FF | rgb(255, 0, 255) | 0%, 100%, 0%, 0% | |
| #C0C0C0 | rgb(192, 192, 192) | 0%, 0%, 0%, 25% | |
| #808080 | rgb(128, 128, 128) | 0%, 0%, 0%, 50% | |
| #800000 | rgb(128, 0, 0) | 0%, 100%, 100%, 50% | |
| #808000 | rgb(128, 128, 0) | 0%, 0%, 100%, 50% | |
| #008000 | rgb(0, 128, 0) | 100%, 0%, 100%, 50% | |
| #800080 | rgb(128, 0, 128) | 0%, 100%, 0%, 50% | |
| #008080 | rgb(0, 128, 128) | 100%, 0%, 0%, 50% | |
| #000080 | rgb(0, 0, 128) | 100%, 100%, 0%, 50% | |
| #FFA500 | rgb(255, 165, 0) | 0%, 35%, 100%, 0% | |
| #FF6347 | rgb(255, 99, 71) | 0%, 61%, 72%, 0% | |
| #FFD700 | rgb(255, 215, 0) | 0%, 16%, 100%, 0% | |
| #4B0082 | rgb(75, 0, 130) | 42%, 100%, 0%, 49% |
How to use
Choose the direction
Select RGB or HEX to CMYK, or CMYK to RGB and HEX, at the top of the tool. Your current color carries over when you switch, written in the new format.
Enter the color
Type or paste into the input, such as rgb(24, 119, 242), #1877F2 or cmyk(90, 51, 0, 5), or move the channel sliders. Percentages and 0 to 1 decimals both work for CMYK.
Copy the result
Result shows the answer with a Copy button, plus extra variants such as Numbers only. The grid below lists every other format for the same color.
Why RGB to CMYK Converter
- Converts RGB or HEX to CMYK and CMYK back to RGB and HEX.
- Sliders and number fields for every channel.
- Step by step math for your exact color.
- Bulk list mode with CSV download.
RGB to CMYK formula and common values
Worked example with #1877F2, which is rgb(24, 119, 242). Divide by 255: R = 0.094, G = 0.467, B = 0.949. K = 1 - 0.949 = 0.051, or 5%. C = (1 - 0.094 - 0.051) / (1 - 0.051) = 0.90, or 90%. M = (1 - 0.467 - 0.051) / 0.949 = 0.51, or 51%. Y = (1 - 0.949 - 0.051) / 0.949 = 0. The result is cmyk(90%, 51%, 0%, 5%).
The table lists simple colors so you can sanity check any conversion. These are formula values, not the numbers a print profile would give.
| Color | HEX | RGB | CMYK (formula) |
|---|---|---|---|
| Black | #000000 | rgb(0, 0, 0) | 0%, 0%, 0%, 100% |
| White | #FFFFFF | rgb(255, 255, 255) | 0%, 0%, 0%, 0% |
| Red | #FF0000 | rgb(255, 0, 0) | 0%, 100%, 100%, 0% |
| Green | #00FF00 | rgb(0, 255, 0) | 100%, 0%, 100%, 0% |
| Blue | #0000FF | rgb(0, 0, 255) | 100%, 100%, 0%, 0% |
| Yellow | #FFFF00 | rgb(255, 255, 0) | 0%, 0%, 100%, 0% |
| Orange | #FFA500 | rgb(255, 165, 0) | 0%, 35%, 100%, 0% |
| Gray | #808080 | rgb(128, 128, 128) | 0%, 0%, 0%, 50% |
Why screen colors look duller in print
RGB is additive: a screen starts dark and adds red, green and blue light. CMYK is subtractive: paper starts white and inks absorb light. The range of colors each system can show, called its gamut, is different, and a typical RGB screen can show bright, saturated colors that CMYK inks cannot reach.
When a design is converted for print, those out-of-gamut colors are pulled in to the nearest printable color, which usually looks flatter. Neon greens, electric blues and vivid oranges are the usual victims, while skin tones, browns and muted colors usually survive well. To avoid surprises, convert early with your printer's profile, ask for a printed proof, and for brand colors that must stay vivid consider a spot color such as a Pantone ink.