Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

RGB to CMYK Converter

Convert screen colors (RGB/HEX) to print colors (CMYK) with live preview and batch conversion

Your files never leave your browser
R
G
B
C
59%
M
58%
Y
0%
K
5%
cmyk(59%, 58%, 0%, 5%)

Drop in an RGB value or HEX code, and this converter spits out the CMYK percentages your print shop actually needs. Single colors update as you drag the sliders; batch mode handles an entire palette in one go. And everything runs in your browser. Nothing gets uploaded.

How It Works

Enter RGB / HEX
➜
Normalize & Calculate K
➜
Output C, M, Y, K %

The math is straightforward but easy to mess up by hand. Each RGB channel (0–255) gets divided by 255. The Key (black) channel is 1 minus the maximum of those three values. Then Cyan, Magenta, and Yellow are each derived from K and their respective normalized channel. The formula guarantees consistent results every time — no rounding surprises.

Examples

Brand Red for a Business Card

Your logo uses a specific red on the website and the printer wants CMYK.

INPUT
RGB(220, 38, 38) HEX #DC2626
OUTPUT
C: 0% M: 83% Y: 83% K: 14%

Converting a Soft Blue Background

The website hero section uses a light blue. You need it for a printed brochure header and want to make sure it does not shift to purple on paper.

INPUT
RGB(147, 197, 253) HEX #93C5FD
OUTPUT
C: 42% M: 22% Y: 0% K: 1%

Batch Converting a Full Brand Palette

You have five brand colors in HEX and the design agency needs all of them in CMYK for a style guide PDF.

INPUT
#1E40AF #DC2626 #059669 #F59E0B #6B7280
OUTPUT
C:83% M:63% Y:0% K:31% C:0% M:83% Y:83% K:14% C:97% M:0% Y:56% K:40% C:0% M:35% Y:96% K:4% C:0% M:5% Y:0% K:50%

Who Uses This

🎨 Graphic Designers

Prep screen-designed logos and assets for offset or digital printing without opening Photoshop.

💻 Web Developers

Hand off exact CMYK specs to the print team when CSS hex values need to go on paper.

📰 Marketing Teams

Keep brand colors consistent from website to business cards, banners, and packaging.

🏫 Students

Learn the relationship between additive and subtractive color models for design coursework.

Common Mistakes

Expecting an exact screen-to-print match

RGB has a wider gamut than CMYK. Some vivid blues and greens simply cannot be reproduced in print. The converted values are mathematically correct, but always do a test print for critical projects.

Ignoring the K (black) channel

Some people set K to 0 and try to create dark colors with just C, M, and Y. That wastes ink and produces a brownish mess instead of real black. Let the formula calculate K properly.

Using screen CMYK values for Pantone matching

This tool gives standard CMYK percentages. If you need a Pantone spot color, you will still need a Pantone swatch book. CMYK and Pantone are different systems — one does not directly replace the other.

Technical Details

Frequently Asked Questions

What is the formula to convert RGB to CMYK?

Divide each RGB value by 255 to get R′, G′, B′ between 0 and 1. K equals 1 minus the max of those three. Then C = (1 − R′ − K) / (1 − K), and the same pattern for M and Y. When K is 1 (pure black), C, M, and Y are all 0.

Why do my printed colors look different from the screen?

Screens mix light (additive color), printers mix ink (subtractive color). RGB can display colors that CMYK physically cannot reproduce — especially neon greens, electric blues, and bright oranges. The conversion gives you the closest CMYK match, but a proof print is the only way to be sure.

Is this the same as converting in Photoshop?

Not exactly. Photoshop uses ICC color profiles (like US Web Coated SWOP) that account for specific paper and ink behavior. This tool uses the standard mathematical formula, which is great for quick reference. For high-end commercial printing, you would still want to soft-proof in Photoshop or InDesign with the printer’s ICC profile loaded.

Can I convert CMYK back to RGB?

Yes, but use a dedicated CMYK-to-RGB tool for that. The reverse formula exists, though going CMYK → RGB → CMYK can introduce tiny rounding differences. If you need that, check the CMYK to RGB Converter in our related tools below.

Do I need to install anything to use this?

No. Open the page and start converting. It works in any modern browser on desktop or mobile. There is no software to download, no account to create, and your color values never leave your device.

Share: