RGB to CMYK Converter (and CMYK to RGB)
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Convert RGB or hex colors to CMYK percentages for print, or CMYK back to RGB and hex, with a live preview. Notes on color profiles for accurate printing.
- RGB
- 0
- Hex
- 0
- HSL
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the RGB to CMYK converter
- Choose the direction: RGB (or hex) to CMYK, or CMYK to RGB.
- Enter a hex colour such as #3A7BD5, or C, M, Y and K percentages from 0 to 100.
- Read the results. The converter shows the CMYK percentages (or RGB values), the hex code, HSL values and a colour preview.
RGB and CMYK: screen colour and print colour
- RGB (red, green, blue) is an additive colour model used by screens. Each pixel mixes red, green and blue light; all three at full strength make white. Values usually range from 0 to 255 for each channel, often written as a hex code like #3A7BD5.
- CMYK (cyan, magenta, yellow, key/black) is a subtractive colour model used in printing. Inks absorb (subtract) light from white paper; more ink makes darker colours. Values are percentages of ink coverage from 0% to 100%.
Designs made on screen are usually in RGB, but commercial printers print in CMYK, so colours need converting.
The basic conversion formula
- Scale the RGB values to 0–1: R′ = R ÷ 255, G′ = G ÷ 255, B′ = B ÷ 255.
- K = 1 − max(R′, G′, B′)
- C = (1 − R′ − K) ÷ (1 − K)
- M = (1 − G′ − K) ÷ (1 − K)
- Y = (1 − B′ − K) ÷ (1 − K)
(If K = 1, the colour is pure black: C = M = Y = 0.)
For #3A7BD5 (R 58, G 123, B 213):
- R′ = 0.227, G′ = 0.482, B′ = 0.835
- K = 1 − 0.835 = 0.165 → 16%
- C = (1 − 0.227 − 0.165) ÷ 0.835 = 73%
- M = (1 − 0.482 − 0.165) ÷ 0.835 = 42%
- Y = (1 − 0.835 − 0.165) ÷ 0.835 = 0%
CMYK to RGB
R = 255 × (1 − C) × (1 − K), and similarly for G (with M) and B (with Y).
Why the formula is only an approximation
The simple formula treats colours mathematically, but real printing is more complicated:
- Colour profiles: printers, inks and papers each reproduce colour differently. Professional workflows use ICC colour profiles (such as FOGRA39 or Coated FOGRA51 in Europe, or GRACoL and SWOP in the US) to convert colours accurately.
- Gamut: screens can show many bright, saturated colours (especially vivid greens, blues and oranges) that CMYK inks can't reproduce. These colours look duller in print.
- Rich black: printing 100% K alone gives a slightly greyish black on large areas. Designers often use a "rich black" such as C 60, M 40, Y 40, K 100 for large dark areas (but not for small text, where registration problems can blur it).
- Total ink limit: printers limit the total of C + M + Y + K (often around 280% to 320%) to prevent ink from smearing or not drying.
- Paper: colours look different on coated, uncoated and newsprint papers.
So use the RGB to CMYK converter for quick estimates and planning, and do the final conversion in your design software (such as Adobe Illustrator, InDesign, Photoshop or Affinity) with the colour profile your printer recommends.
Hex, RGB, HSL and CMYK compared
| Format | Example | Used for |
|---|---|---|
| Hex | #3A7BD5 | Web design, CSS, brand guides |
| RGB | rgb(58, 123, 213) | Screens, apps, digital design |
| HSL | hsl(215, 65%, 53%) | Adjusting hue, saturation and lightness in CSS |
| CMYK | 73, 42, 0, 16 | Print design |
| Pantone | (spot colours) | Brand colours printed with special inks |
Our hex to RGB converter converts between web formats.
Brand colours across print and screen
Brand guides usually list each colour in several formats: hex and RGB for digital, CMYK for print, and sometimes a Pantone spot colour for exact matching on important print jobs. If you only have a hex code, the RGB to CMYK converter gives a starting point for your print values; then ask your printer for a proof to check the colour on the actual paper.
Tips for designing for print
- Set up print documents in CMYK from the start if possible.
- Avoid relying on very bright RGB colours that are outside the CMYK gamut.
- Ask your printer which colour profile and total ink limit to use.
- Request a printed proof for important colour work.
- Check contrast for text. Our color contrast checker works with hex colours.
A worked example
Maya's bakery brand colour is #E07A5F (a warm terracotta) on her website. She's ordering printed menus and needs CMYK values.
In the RGB to CMYK converter: RGB (224, 122, 95) gives approximately C 0%, M 46%, Y 58%, K 12%. She sends these values to her printer as a starting point. The printer converts using their profile, prints a proof on the menu paper, and adjusts slightly so the printed colour matches the website as closely as possible.
Who uses an RGB to CMYK converter
Graphic designers use it to prepare print files. Small businesses use it when ordering business cards, flyers and signs. Marketers use it to build brand guides. Students use it to learn colour models, and printers use it for quick checks.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Colours that can't be printed
The range of colours a device can show or print is called its gamut. Screens can show many bright, saturated colours that ordinary four-colour printing can't reproduce, especially vivid greens, electric blues, bright oranges and neon pinks. When you convert such a colour from RGB to CMYK, the printer has to substitute the nearest colour it can print, and the result often looks duller. Design software can warn you about "out of gamut" colours. If a brand colour is out of gamut, consider a spot colour, such as a Pantone ink, for important printed materials.
Rich black versus plain black
In CMYK, plain black is 0% cyan, 0% magenta, 0% yellow and 100% black. It's ideal for body text, because one ink prints crisply. For large black areas, such as backgrounds or big headings, 100% K alone can look slightly grey and washed out. Printers often recommend a "rich black" that adds some of the other inks, for example 60% cyan, 40% magenta, 40% yellow and 100% black. Never use rich black for small text, because tiny misalignments between the four ink plates can make letters look blurry. Ask your printer which rich black recipe they prefer.
Total ink limits
Adding the four CMYK percentages gives the total ink coverage. Too much ink can cause smudging, slow drying and paper problems. Many printers set a maximum total ink coverage, often around 300% for coated paper and lower for uncoated paper and newsprint. Colours made with 100% of every ink, which add up to 400%, should be avoided. The simple RGB to CMYK formula can produce combinations that exceed these limits for very dark colours, so professional conversions use ICC colour profiles that respect them.
Checking colours before printing
Because screens and printers create colour differently, the only way to be sure how a colour will print is to see it on paper. For important jobs:
- Ask for a printed proof on the actual paper stock.
- Use a printed colour guide, such as a CMYK swatch book, to choose colours.
- Calibrate your monitor so that what you see on screen is as close as possible to the standard.
- Use the printer's ICC profile when you export your final files.
The RGB to CMYK converter gives you a reliable starting point, and these steps help make sure the final printed piece matches what you intended.
When to stay in RGB
Not everything needs converting. Websites, apps, social media graphics, presentations and videos are viewed on screens, so they should stay in RGB. Convert to CMYK only for materials that will be printed with ink on paper or other physical surfaces.
Converting a whole palette
When a brand moves into print, convert every colour in its palette, not just the main one, and record the results in the brand guide. That keeps future print jobs consistent, even when different designers or printers handle them.
Sources and further reading
- CMYK color model on Wikipedia: how subtractive colour printing works.
- RGB color model on Wikipedia: additive colour on screens.
- ICC profile on Wikipedia: colour management between devices.
Frequently asked questions
How do I convert RGB to CMYK?
K = 1 − max(R′, G′, B′); then C = (1 − R′ − K) ÷ (1 − K), and the same for M and Y, with R′, G′, B′ being RGB ÷ 255.
Why do my printed colours look different from the screen?
Screens and inks reproduce different ranges of colour, and printing depends on the paper, inks and colour profile.
What is K in CMYK?
Key, meaning black ink.
Should I design in RGB or CMYK?
RGB for screens, CMYK for print. Convert with your printer's colour profile for final print files.
What is rich black?
A black made with black ink plus some cyan, magenta and yellow, for deeper blacks in large areas.
Is the RGB to CMYK converter free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.