Enter the color
Type or paste a RGB code, or pick a color with the color picker.
Paste any RGB color and get its CMYK value instantly, together with every other format: HEX, RGB, HSL, HWB, CMYK and OKLCH. Free, and it runs in your browser.
100% private — the calculation is done in your browser and nothing is sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
Type or paste a RGB code, or pick a color with the color picker.
Every format updates as you type and shows a live preview of the color.
Use the copy button next to the format you need.
To convert RGB to CMYK, enter your RGB color in the box above and read the CMYK value next to it. For example, rgb(34, 197, 94) is cmyk(83%, 0%, 52%, 23%). The result updates as you type, and every other format (HEX, RGB, HSL, CMYK and more) is shown at the same time.
RGB describes a color as amounts of red, green and blue light, each from 0 to 255. rgb(59, 130, 246) is the same color as #3B82F6. CSS also accepts an opacity value, as in rgba(59, 130, 246, 0.5).
CMYK is the ink model used in printing: percentages of cyan, magenta, yellow and black. Screens cannot show every CMYK color exactly and printers differ, so a conversion from RGB is an approximation to use as a starting point.
Here is the calculation for rgb(34, 197, 94), step by step:
| Color | RGB | CMYK |
|---|---|---|
| Black | rgb(0, 0, 0) | cmyk(0%, 0%, 0%, 100%) |
| White | rgb(255, 255, 255) | cmyk(0%, 0%, 0%, 0%) |
| Red | rgb(255, 0, 0) | cmyk(0%, 100%, 100%, 0%) |
| Lime | rgb(0, 255, 0) | cmyk(100%, 0%, 100%, 0%) |
| Blue | rgb(0, 0, 255) | cmyk(100%, 100%, 0%, 0%) |
| Yellow | rgb(255, 255, 0) | cmyk(0%, 0%, 100%, 0%) |
| Cyan | rgb(0, 255, 255) | cmyk(100%, 0%, 0%, 0%) |
| Magenta | rgb(255, 0, 255) | cmyk(0%, 100%, 0%, 0%) |
| Gray | rgb(128, 128, 128) | cmyk(0%, 0%, 0%, 50%) |
| Orange | rgb(255, 165, 0) | cmyk(0%, 35%, 100%, 0%) |
| Purple | rgb(128, 0, 128) | cmyk(0%, 100%, 0%, 50%) |
| Pink | rgb(255, 192, 203) | cmyk(0%, 25%, 20%, 0%) |
| Brown | rgb(165, 42, 42) | cmyk(0%, 75%, 75%, 35%) |
| Navy | rgb(0, 0, 128) | cmyk(100%, 100%, 0%, 50%) |
| Teal | rgb(0, 128, 128) | cmyk(100%, 0%, 0%, 50%) |
| Coral | rgb(255, 127, 80) | cmyk(0%, 50%, 69%, 0%) |
RGB is the model screens use and the one CSS functions such as rgba() build on, which makes it handy when you need transparency or want to compute colors in code. CMYK matters when a color will be printed. Use it as a starting point and always check a physical proof, because inks and paper change the result.
More utilities that also run without leaving your browser.