CMYK CONVERTER

Convert any color between HEX, RGB, and CMYK at once. Every format updates live as you edit any one of them, entirely in your browser.

In short

CMYK Converter shows one color as HEX, RGB, HSL, and CMYK at once and updates them all when you change HEX, RGB, or CMYK. Paste a color the way you have it — #9cb052, 169 216 219, c24 m90 y92 k0 or a CSS name like navy — and get copy-ready values, for example #ff6a35 is rgb(255, 106, 53) and cmyk(0%, 58%, 79%, 0%), calculated with the standard naive formula, without ICC color profiles. Paste a whole palette, one color per line, to get all of them in a table and copy it as CSV. The math runs in your browser; nothing is uploaded.

Click the swatch to pick

rgb(255, 106, 53)

HSL

hsl(16, 100%, 60%)

cmyk(0%, 58%, 79%, 0%)

IllustratorC=0 M=58 Y=79 K=0
0–10.00, 0.58, 0.79, 0.00
One per line, any format the box above reads

Example output (default settings)

#ff6a35 in every format
HEX          #ff6a35
RGB          rgb(255, 106, 53)
HSL          hsl(16, 100%, 60%)
CMYK         cmyk(0%, 58%, 79%, 0%)
Illustrator  C=0 M=58 Y=79 K=0
CMYK 0–1     0.00, 0.58, 0.79, 0.00

Common colors in CMYK

CSS named colors converted with the same naive formula as the tool above, as cyan, magenta, yellow and black percentages. Click a color to open it in the converter.

ColorHEXCMYK %
Black#0000000, 0, 0, 100
White#ffffff0, 0, 0, 0
Gray#8080800, 0, 0, 50
Red#ff00000, 100, 100, 0
Orange#ffa5000, 35, 100, 0
Gold#ffd7000, 16, 100, 0
Yellow#ffff000, 0, 100, 0
Lime#00ff00100, 0, 100, 0
Green#008000100, 0, 100, 50
Teal#008080100, 0, 0, 50
Cyan#00ffff100, 0, 0, 0
Blue#0000ff100, 100, 0, 0
Navy#000080100, 100, 0, 50
Purple#8000800, 100, 0, 50
Magenta#ff00ff0, 100, 0, 0
Pink#ffc0cb0, 25, 20, 0
Hot pink#ff69b40, 59, 29, 0
Deep pink#ff14930, 92, 42, 0
Brown#a52a2a0, 75, 75, 35
Maroon#8000000, 100, 100, 50

How to convert a color to CMYK

  1. 1

    Paste a color into the Paste any color box — a HEX code, three RGB numbers, a CMYK recipe like c24 m90 y92 k0, or a CSS color name — or click the swatch to pick one.

  2. 2

    Fine-tune the color with the RGB number fields if you need exact channel values.

  3. 3

    Drag the Cyan, Magenta, Yellow, or Key (black) sliders to adjust the CMYK print values.

  4. 4

    Click Copy next to any format — HEX, RGB, HSL, or CMYK — to grab that value; CMYK also copies as C=0 M=58 Y=79 K=0 (Illustrator and InDesign style) or as 0–1 fractions.

  5. 5

    To convert a palette, paste the colors one per line into Several colors at once, then click Copy all (CSV) to paste the table into a spreadsheet.

Questions

Why does my CMYK color look different when printed?
This converter uses the naive CMYK conversion formula, which assumes idealized inks and no color management — real printers use ICC profiles that account for paper stock, ink mixing, and press calibration. Use this tool to get a reasonable starting CMYK value, then check a proof or your printer's color profile before a print run.
What's the difference between RGB and CMYK?
RGB is an additive color model used for screens — red, green, and blue light combine to make white. CMYK is a subtractive model used for print — cyan, magenta, yellow, and black ink absorb light, and combining all four ideally produces black.
Why is the K value not 100% for pure black?
This tool uses simple (naive) CMYK conversion, where RGB black (0,0,0) does convert to K=100% with C, M, Y at 0%. But converting back and forth can introduce small rounding differences — professional black in print ("rich black") often mixes some C/M/Y with K anyway for deeper, truer black on paper.
Can fluorescent or neon colors be printed in CMYK?
Not really. Fluorescent pink, orange or green get their glow from special pigments that CMYK inks don't have, so any CMYK value is a duller approximation — deep pink #ff1493 becomes cmyk(0%, 92%, 42%, 0%), for example. For a true neon look, ask the printer for a fluorescent spot ink (such as a Pantone 800-series color) and use the CMYK value only as a fallback.
How do I get the CMYK value of a paint, thread or plastic color (Formica, DMC, Perspex)?
Manufacturers publish their own swatch codes, not CMYK, and this tool doesn't include their catalogs. Find the color's HEX or RGB value on the maker's website or a color chart, type it into the HEX field above, and copy the CMYK result. Treat it as a starting point: physical materials and print look different, so compare against a printed proof.
What can I paste into the Paste any color box?
A HEX code with or without # (9cb052, #fa0), RGB as rgb(169, 216, 219) or just 169 216 219, CMYK as cmyk(24%, 90%, 92%, 0%), c24 m90 y92 k0, C=24 M=90 Y=92 K=0 or four plain numbers, and any of the 148 CSS color names such as navy or deeppink. Three plain numbers are read as RGB and four as CMYK; a CMYK recipe without a K value means K = 0. The line under the box shows how your input was read, and anything it can't read gets a hint instead of a guess.
Why does my CMYK recipe change after I paste it?
The converter turns the recipe into one on-screen color and then shows that color's CMYK with the naive formula, which always moves the shared grey part into black (K). So c24 m90 y92 k0 becomes #c21914 and is shown back as cmyk(0%, 87%, 90%, 24%) — the same screen color written another way. If your printer or brand guide gave you a specific recipe, keep using that recipe for print and use the HEX and RGB values for screens.
Which CMYK format should I copy?
Use whichever your program expects. cmyk(0%, 58%, 79%, 0%) is the CSS-style notation; C=0 M=58 Y=79 K=0 matches how Illustrator and InDesign label swatches; 0.00, 0.58, 0.79, 0.00 gives the same values as 0–1 fractions for code, LaTeX's xcolor or print APIs. All three are rounded to whole percent and describe the same color, and any of them can be pasted back into the Paste any color box. HSL is there for CSS and design tools that work in hue, saturation and lightness.
Can I convert several colors at once?
Yes. Paste a list into the Several colors at once box, one color per line, in any format the Paste any color box reads — you can mix HEX codes, RGB numbers, CMYK recipes and color names. Each line gets its HEX, RGB and CMYK in a table, and a line that can't be read shows a hint with its line number. Copy all (CSV) copies the readable rows with the input, HEX, and R, G, B, C, M, Y, K in separate columns, ready to paste into Excel or Google Sheets. Up to 500 lines are read at a time.
Can I link to a specific color?
Yes. Add ?hex= and the six-digit code to the page address, for example /cmyk-converter?hex=9cb052, and the converter opens on that color. The Copy link button under the HEX field gives you the link for the color you're looking at.
Is my color data uploaded anywhere?
No — every conversion happens locally in your browser with plain math. Nothing is sent to a server.

Related tools

All Color & CSS Tools →

Updated