Home › Image Tools › RGB to CMYK Converter

RGB to CMYK Converter

Last updated:

Convert screen colors (RGB or HEX) to CMYK ink percentages for printing, or turn CMYK values back into RGB. Both sides update live as you type.

RGB / HEX screen

R
G
B

CMYK print

C
M
Y
K
C 56 M 0 Y 26 K 58
#2F6B4F

Advertisement

Common print colors

Advertisement

How to convert RGB to CMYK

  1. Enter your color. Type a HEX code, drag the R, G and B sliders, or open the color picker.
  2. Read the CMYK values. Cyan, Magenta, Yellow and Black (K) percentages update instantly on the right.
  3. Going the other way? Edit the CMYK sliders or boxes and the RGB and HEX values update to match.
  4. Copy and use. Copy the CMYK, RGB or HEX value with one click and paste it into your design or print software.

RGB to CMYK formula

RGB values are first scaled to 0–1 by dividing by 255. Then:

  • K = 1 − max(R′, G′, B′)
  • C = (1 − R′ − K) ÷ (1 − K)
  • M = (1 − G′ − K) ÷ (1 − K)
  • Y = (1 − B′ − K) ÷ (1 − K)

To go back, R = 255 × (1 − C) × (1 − K), and the same for G with M and B with Y. This is the standard device-independent conversion used by most online converters and CSS. Professional print shops use ICC color profiles (such as FOGRA39 or GRACoL), so the final ink values your printer uses can differ slightly. For brand-critical work, ask your printer for their profile or a proof.

Why do colors look different in print?

Screens create color by adding light (RGB), while printers subtract light with ink on paper (CMYK). Very bright, saturated screen colors such as pure RGB green or electric blue cannot be reproduced exactly with four inks, so they print duller. Total ink coverage also matters: most printers prefer the sum of C+M+Y+K to stay under about 300%, which this tool shows for every color.

Frequently asked questions

What is the CMYK value of pure black?

Plain black is C 0, M 0, Y 0, K 100. For large black areas, printers often use a "rich black" such as C 60, M 40, Y 40, K 100 for a deeper result.

What is white in CMYK?

White is C 0, M 0, Y 0, K 0. In print, white is simply the paper with no ink.

Can I convert HEX to CMYK?

Yes. Paste any HEX code such as #FF5733 into the HEX box and the CMYK values appear instantly.

Is this converter accurate for professional printing?

It uses the standard mathematical conversion, which is great for design work and web-to-print estimates. Commercial printers convert with ICC profiles, which can shift values by a few percent.

Is the RGB to CMYK converter free?

Yes. It's free, needs no sign-up and runs entirely in your browser.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

HEX to RGBConvert HEX colors to RGB and other formats.Color Name FinderFind the closest color name for any HEX or RGB color.Color Palette GeneratorGenerate beautiful color palettes and export them.PNG to JPGBatch convert PNG images to JPG with a background color.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.RGB to HEXConvert RGB to HEX with sliders, live swatch and one-click copy.Certificate MakerDesign certificates from templates and export one or many as PDF.HEX to HSLConvert HEX colors to HSL and back with interactive sliders.Color Contrast CheckerCheck WCAG contrast ratios and find accessible text colors.Pantone to HEXLook up approximate HEX, RGB and CMYK values for Pantone colors.Color Blindness SimulatorSee any image as people with protanopia, deuteranopia, tritanopia or achromatopsia see itImage Color PickerPick any pixel colour from an image and get HEX, RGB, HSL plus a paletteColor Shades GeneratorTurn one HEX color into a 50-950 scale plus tints, shades and tones, ready to export.Tailwind Color GeneratorTurn one color into a full Tailwind 50–950 shade scale and export the config or CSS.Color MixerMix two colors in sRGB, linear, OKLab or OKLCH, or blend them with Photoshop-style modes.Random Color GeneratorGenerate random HEX colors one at a time or in batches, with hue, saturation and lightness ranges.Color WheelFind complementary, triadic, analogous and other color harmonies on an interactive wheel.Color PickerPick any color and get HEX, RGB, HSL, HSV and CMYK codes, shades and a screen eyedropper.HTML Color CodesAll 140 HTML color names with HEX and RGB codes, plus the 216 web-safe colors. Click to copy.Color Palette from ImageExtract the main colors of any photo as HEX codes, CSS variables and a palette PNG.Replace Color in ImageClick a color in a picture and swap it for a new color or transparency, keeping the shading.CMYK to RGBConvert CMYK percentages to RGB and HEX color codes with sliders and a live preview.HSL to HEXConvert HSL and HSLA colors to HEX and RGB with sliders and a live preview.HEX to RGBAConvert HEX color codes to CSS rgba() with an opacity slider and one-click copy.RGBA to HEXConvert rgba() colors to 8-digit HEX, or flatten transparency onto any background.HEX to CMYKConvert HEX color codes to CMYK percentages for print, with a live preview.HEX to PantoneFind the 5 closest Pantone-style solid coated colors for any HEX or RGB, ranked by Delta E.Color Temperature to RGBConvert a color temperature in kelvin (1000-40000 K) to RGB and HEX with a live swatch.OKLCH Color ConverterConvert HEX, RGB and HSL to OKLCH, OKLab, Lab and LCH with sRGB and P3 gamut checks.RAL to HEXLook up RAL Classic codes as HEX, RGB and CMYK, search by name or find the nearest RAL.RGB to HSLConvert RGB values to HSL, HSV and HWB with a live swatch and copy-ready CSS.
See all 38 Color Tools →

Worked example: converting #2F6B4F to CMYK

Take the default green, #2F6B4F, which is R 47, G 107, B 79.

  1. Scale to 0–1: R′ = 47 ÷ 255 = 0.184, G′ = 107 ÷ 255 = 0.420, B′ = 79 ÷ 255 = 0.310.
  2. Black: K = 1 − 0.420 = 0.580, or 58%.
  3. Cyan: (1 − 0.184 − 0.580) ÷ (1 − 0.580) = 0.236 ÷ 0.420 = 0.56, or 56%.
  4. Magenta: (1 − 0.420 − 0.580) ÷ 0.420 = 0%.
  5. Yellow: (1 − 0.310 − 0.580) ÷ 0.420 = 0.110 ÷ 0.420 = 0.26, or 26%.

Result: C 56, M 0, Y 26, K 58, with a total ink coverage of 140%.

Common colors in RGB, HEX and CMYK

Values below use the same standard formula as the converter, rounded to whole percentages.

ColorHEXRGBCMYK
Red#FF0000255, 0, 00, 100, 100, 0
Green#00FF000, 255, 0100, 0, 100, 0
Blue#0000FF0, 0, 255100, 100, 0, 0
Orange#FFA500255, 165, 00, 35, 100, 0
Tomato orange#FF5733255, 87, 510, 66, 80, 0
Navy#0000800, 0, 128100, 100, 0, 50
Mid gray#808080128, 128, 1280, 0, 0, 50

Notice that grays come out as black ink only. That keeps neutral tones from picking up a color cast if the press drifts slightly.

Mistakes to avoid when preparing files for print

More questions about RGB to CMYK Converter

Why does my bright green look dull after converting to CMYK?

Pure RGB greens and blues lie outside what four process inks can print. The CMYK numbers are the closest printable match, so some loss of brightness is unavoidable.

Should I convert my whole design to CMYK or just the colors?

Many print shops accept RGB files and convert them with their own profile. Ask your printer which they prefer; if they want CMYK, convert using their profile in your design software.

Why do different converters give slightly different CMYK values?

Simple converters use the mathematical formula, while design apps use ICC profiles for a specific press and paper. Both are valid; profile-based values match a particular printer more closely.

What CMYK value should I use for a deep black background?

A common rich black is C 60, M 40, Y 40, K 100, but printers vary. Ask your print shop for their preferred mix and use it only for large areas.