RGB to CMYK Converter With HEX Preview

Use this RGB to CMYK converter to turn RGB values or a HEX code into CMYK percentages for print. You can also turn CMYK back into RGB and HEX. A live swatch shows the color, so designers can prepare files for a print shop.

RGB to CMYK Converter

Screen colors to print colors.

-
Everything runs in your browser. Nothing you enter is sent to a server.

How to use the RGB to CMYK Converter

  1. Choose the direction.
  2. Enter a HEX code, or C, M, Y and K percentages.
  3. Check the preview.
  4. Copy the values you need.

How it works

K (black) is set by the brightest RGB channel. C, M and Y are what is left of each channel after black.

Formula

K = 1 − max(R, G, B) ÷ 255
C = (1 − R ÷ 255 − K) ÷ (1 − K) (same for M with G, Y with B)
R = 255 × (1 − C) × (1 − K)

Example

#3366CC (51, 102, 204) = C 75%, M 50%, Y 0%, K 20%.

Frequently asked questions

Why convert RGB to CMYK?

Printers use cyan, magenta, yellow and black ink.

Why do printed colors look different?

CMYK has a smaller color range than screens.

What is K in CMYK?

Key, which means black.

See also: Color Picker, Unit Converter.

Convert RGB to CMYK

How to use it

  1. Enter RGB values or a HEX code.
  2. Read the CMYK percentages.
  3. Or enter CMYK to get RGB and HEX.
  4. Copy the values you need.

More questions

Why is print color different?

Screens mix light and printers mix ink, so some bright screen colors can't be printed exactly.

Is this exact for my printer?

It is a standard conversion. Ask your print shop about their color profile.

Can I enter HEX?

Yes. Type a HEX code like #1E90FF and it fills in the RGB and CMYK.

Related tools: HEX to RGB Converter, Color Picker, Color Palette Generator.

Brand blue and orange for a flyer

Choose RGB or CMYK mode, enter a HEX code or the four CMYK percentages, and read the converted values and the color swatch. Before you print, check text contrast with the Color Contrast Checker.

Worked example: brand blue #3366CC (rgb 51, 102, 204) converts to C 75%, M 50%, Y 0%, K 20%. In CMYK mode, C 0, M 50, Y 100, K 0 gives #FF8000, a bright orange.

More answers

How do I turn CMYK values into a HEX code?

Switch to CMYK mode, type the four percentages and read the HEX. For example, C 0, M 50, Y 100, K 0 gives #FF8000, a bright orange.

What is the CMYK value of #3366CC?

The tool shows C 75%, M 50%, Y 0% and K 20% for #3366CC. Treat it as a starting point and ask your printer for a proof, since ink and paper change the final color.