RGB to CMYK Converter

Convert HEX or RGB colors to CMYK percentages instantly — and back again. Includes the formula and practical tips for getting better print results.

or pick a color

CMYK → RGB / HEX

Drag the sliders to convert CMYK back to screen colors.

How to Use the RGB to CMYK Converter

  1. Type or paste a HEX code (#6C5CE7) or an RGB value (108, 92, 231 or rgb(108, 92, 231)), or pick a color with the swatch.
  2. Read the CMYK percentages and click Copy.
  3. To go the other way, drag the Cyan, Magenta, Yellow and Black sliders to get the matching HEX and RGB values.

How RGB to CMYK Conversion Works

RGB describes light from a screen (additive color). CMYK describes ink on paper (subtractive color). The standard mathematical conversion used by this tool is:

  1. Divide R, G and B by 255 to get values from 0 to 1.
  2. K (black) = 1 − the largest of R, G and B.
  3. C = (1 − R − K) ÷ (1 − K), and the same for M with G and Y with B.
  4. Multiply by 100 to get percentages.

For example, #6C5CE7 is rgb(108, 92, 231). The largest channel is blue (231 ÷ 255 ≈ 0.906), so K ≈ 9%. The result is approximately C 53%, M 60%, Y 0%, K 9%.

Example Conversions

ColorRGBCMYK (C, M, Y, K)
#FF0000255, 0, 00, 100, 100, 0
#00FF000, 255, 0100, 0, 100, 0
#0000FF0, 0, 255100, 100, 0, 0
#000080 navy0, 0, 128100, 100, 0, 50
#0F766E teal15, 118, 11087, 0, 7, 54
#F97316 orange249, 115, 220, 54, 91, 2
#808080 gray128, 128, 1280, 0, 0, 50
#000000 black0, 0, 00, 0, 0, 100

Why Printed Colors Won’t Match Your Screen Exactly

Different color gamuts

A screen can show some very bright, saturated colors — especially vivid blues, greens and oranges — that ink cannot reproduce. These are called out-of-gamut colors. When they are printed, they look duller than on screen. The math above still gives you CMYK numbers, but the printed result may not look the same.

Color profiles matter

Professional printing uses ICC color profiles that describe a specific printer, ink and paper combination (for example, coated or uncoated stock). Design software such as Adobe Illustrator, InDesign or Affinity uses these profiles to convert colors far more accurately than a simple formula. Treat this converter as a quick reference and starting point, not a final print proof.

Pure black vs. rich black

The formula converts black to 0, 0, 0, 100, which is “pure” black ink. Many printers recommend a rich black for large dark areas, which adds some cyan, magenta and yellow under the black for a deeper result. The exact recipe depends on your printer, so ask before using one. Small text is usually best in pure black to avoid blurry edges.

Tips Before You Send a File to Print

  • Ask your printer which color profile and file format they prefer.
  • Convert to CMYK in your design software using that profile, then review colors that shifted.
  • Avoid relying on very bright RGB colors for important brand elements in print.
  • Request a printed proof when color accuracy matters, such as for packaging or brand materials.
  • Keep an RGB version of your files for web and social media.

To understand when to use each color model, read our guide HEX vs RGB vs HSL. Need HSL or other screen formats? Use the Color Converter.

Related Learning Guides

Frequently Asked Questions

Is an online RGB to CMYK conversion accurate for printing?

It is mathematically correct, but it does not account for a specific printer, ink or paper. For professional print work, convert in design software using the color profile your printer recommends and request a proof.

Why do bright colors look dull after conversion?

Some screen colors are outside the range that CMYK inks can print. When converted, they are mapped to the closest printable color, which often looks less vivid.

How do I convert HEX to CMYK?

Paste the HEX code into the converter above. It is first converted to RGB, then to CMYK percentages.

What is rich black in CMYK?

Rich black is black ink combined with some cyan, magenta and yellow to create a deeper black for large areas. Recipes vary, so ask your printer which one they recommend.

Should I design in RGB or CMYK?

Design in RGB for screens. For print projects, set up your document in CMYK from the start or convert using your printer’s profile before sending files.

Scroll to Top