Skip to content
ToolZone

CMYK Converter

Convert colors between HEX or RGB and CMYK, the color model used in print design, since screen and print colors are represented differently.

Runs in your browser. Nothing you enter or upload leaves your device.

%
%
%
%
#3B82F6
CMYKcmyk(76%, 47%, 0%, 4%)
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)

Note: this is a simple device-independent CMYK approximation, not a color-managed CMYK profile, actual print output may vary by printer/ink.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the CMYK Converter

CMYK Converter translates between the HEX colors used on screens and the cyan, magenta, yellow and key (black) percentages used in print. It works in both directions: type or pick a HEX color to get CMYK, or adjust the CMYK numbers and sliders to get a HEX code and live swatch.

How it works

From HEX, the red, green and blue values are scaled to 0-1. Black (K) is 1 minus the largest of the three. Each of cyan, magenta and yellow is then (1 - channel - K) / (1 - K), and all four are rounded to whole percentages. Pure black is a special case and returns 0%, 0%, 0%, 100%.

From CMYK, each RGB channel is 255 x (1 - C) x (1 - K), and likewise for magenta with green and yellow with blue, rounded and written as HEX. This is the standard, device-independent formula. It doesn't use an ICC color profile, so it can't account for the specific press, paper or ink a printer uses.

How to use

  1. 1

    Type a HEX code, rgb() or hsl() value into the color field, or click the swatch to pick a color.

  2. 2

    Read the Cyan, Magenta, Yellow and Key (Black) percentages that appear.

  3. 3

    To go the other way, type numbers from 0 to 100 into the CMYK fields or drag the four sliders.

  4. 4

    Copy the CMYK, HEX, RGB or HSL value with the copy icon on its row.

Worked examples

Web blue to print

Converting the default blue for a printed flyer.

Input
HEX #3B82F6
Result
cmyk(76%, 47%, 0%, 4%)

Blue is the strongest channel (246), so K = 1 - 246/255 ≈ 4%. Cyan and magenta make up the rest.

Bright orange

A brand orange needs print values.

Input
HEX #FF6600
Result
cmyk(0%, 60%, 100%, 0%)

CMYK from a print guide to HEX

A brand book lists a lime green as C20 M0 Y60 K10.

Input
C 20, M 0, Y 60, K 10
Result
#B8E65C

Red = 255 x 0.8 x 0.9 ≈ 184 (B8), green = 255 x 1 x 0.9 ≈ 230 (E6), blue = 255 x 0.4 x 0.9 ≈ 92 (5C).

Limitations
This is a simple mathematical conversion without color management or ICC profiles, so printed results will vary by printer, ink and paper. CMYK values are whole percentages, so converting HEX to CMYK and back can shift the color by a point or two. Color names (like red) and Pantone values aren't recognized; use HEX, rgb() or hsl().
Assumptions
The HEX color is in the sRGB color space. Total ink coverage and dot gain are not considered.
Privacy
Conversions are done in your browser and no colors are sent or saved.

Frequently asked questions

Why is CMYK used for print instead of RGB?+

Printers make color by layering inks that absorb light (subtractive color), while screens mix light (additive color). CMYK describes how much of each ink to lay down.

Will the printed color exactly match what I see on screen?+

Not always. This is a formula-based approximation, and actual results depend on the printer, paper, ink and color profile used.

What does the K in CMYK stand for?+

Key, meaning the black plate. Black ink is added because mixing cyan, magenta and yellow alone gives a muddy dark brown rather than a true black.

Can I convert Pantone colors with this?+

No. Pantone spot colors are specific premixed inks, and their official CMYK and HEX equivalents come from Pantone's own guides.

Why did my HEX code change slightly after I edited a CMYK value?+

CMYK is stored as whole percentages, so recalculating HEX from rounded values can shift each channel by a few points.

Related tools