CMYK to Hex Converter
Edit any value — CMYK, RGB, hex, or HSL — and the other three formats update at once. Click a table row’s “Load in converter” button to start from a common color.
Convert CMYK to hex instantly — and back. Edit CMYK, RGB, hex, or HSL and all four formats stay in sync, with a preview, copy buttons, and a table of common CMYK colors.
CMYK 0, 100, 100, 0 is #FF0000. Type CMYK, RGB, hex, or HSL values below and every format updates at once — the on-screen result is an approximation of the printed ink color, not the ink itself.
What CMYK means
CMYK is the color model of print. It mixes four inks on paper: Cyan, Magenta, Yellow, and Key (black). Each value runs from 0% (no ink) to 100% (full ink). It is a subtractive model: the inks absorb (subtract) light, and what is left is the color you see. That is the opposite of RGB on a screen, where red, green, and blue light are added together — which is why converting between the two is never exact.
Why black ink exists — why K, not just CMY
In theory, mixing full cyan, magenta, and yellow should make black. In practice it makes a muddy dark brown, because real inks are not perfect absorbers. Printing text with three inks would also use three times the ink, dry slowly, and blur whenever the three plates are even slightly misaligned. Dedicated black ink (K, short for key — the key plate that carries the detail) solves all three problems: deeper blacks, crisper text, and cheaper printing. That is also why a screen color like #000000 can come from many different CMYK recipes, and why printers ask for the CMYK numbers, not the hex.
The conversion formulas
CMYK to RGB: first find K, then scale each channel by the ink left over. R = 255 × (1 − C) × (1 − K), and the same for green with M and blue with Y. RGB to CMYK: K = 1 − max(R, G, B) / 255, then C = (1 − R/255 − K) / (1 − K), and the same for M and G, and Y and B. Pure black (R = G = B = 0) is the special case: C = M = Y = 0 and K = 100%. The converter above does this math live, in both directions, and keeps HSL in sync too.
Why the on-screen result is only an approximation
A hex code describes light coming from a screen; a CMYK value describes ink sitting on paper. The same CMYK numbers look different on coated and uncoated paper, under different lighting, and on different printers — and some screen colors (bright blues, vivid greens) simply cannot be printed with CMYK inks at all. Real print work uses ICC color profiles, which map between the printer, the ink, and the paper, and it is always checked against a printed proof. Treat the hex values on this page as a preview for design work, never as a promise of what the press will produce.
Common CMYK colors
These are the standard textbook CMYK recipes. Click a hex code to copy it, or load a row into the converter to see its RGB and HSL values.
| Color | CMYK | Hex (click to copy) | RGB | |
|---|---|---|---|---|
| White | cmyk(0%, 0%, 0%, 0%) | #FFFFFF | rgb(255, 255, 255) | |
| Black | cmyk(0%, 0%, 0%, 100%) | #000000 | rgb(0, 0, 0) | |
| Red | cmyk(0%, 100%, 100%, 0%) | #FF0000 | rgb(255, 0, 0) | |
| Green | cmyk(100%, 0%, 100%, 0%) | #00FF00 | rgb(0, 255, 0) | |
| Blue | cmyk(100%, 100%, 0%, 0%) | #0000FF | rgb(0, 0, 255) | |
| Yellow | cmyk(0%, 0%, 100%, 0%) | #FFFF00 | rgb(255, 255, 0) | |
| Cyan | cmyk(100%, 0%, 0%, 0%) | #00FFFF | rgb(0, 255, 255) | |
| Magenta | cmyk(0%, 100%, 0%, 0%) | #FF00FF | rgb(255, 0, 255) | |
| Orange | cmyk(0%, 50%, 100%, 0%) | #FF8000 | rgb(255, 128, 0) | |
| Purple | cmyk(50%, 100%, 0%, 0%) | #8000FF | rgb(128, 0, 255) | |
| Pink | cmyk(0%, 50%, 0%, 0%) | #FF80FF | rgb(255, 128, 255) | |
| Brown | cmyk(0%, 50%, 100%, 50%) | #804000 | rgb(128, 64, 0) | |
| Gray | cmyk(0%, 0%, 0%, 50%) | #808080 | rgb(128, 128, 128) | |
| Navy | cmyk(100%, 100%, 0%, 50%) | #000080 | rgb(0, 0, 128) | |
| Teal | cmyk(100%, 0%, 50%, 0%) | #00FF80 | rgb(0, 255, 128) | |
| Gold | cmyk(0%, 20%, 100%, 0%) | #FFCC00 | rgb(255, 204, 0) | |
| Maroon | cmyk(0%, 100%, 100%, 50%) | #800000 | rgb(128, 0, 0) | |
| Lime | cmyk(50%, 0%, 100%, 0%) | #80FF00 | rgb(128, 255, 0) |
Frequently asked questions
What is the hex code for CMYK 0, 100, 100, 0?
CMYK 0, 100, 100, 0 is #FF0000, pure red: no cyan, full magenta, full yellow, no black. Try it in the converter above — or load the Red row from the table.
How do I convert CMYK to hex?
Convert CMYK to RGB first: R = 255 x (1 - C) x (1 - K), and the same for green with M and blue with Y. Then write each RGB number as two hex digits. For example, CMYK 0, 100, 100, 0 gives rgb(255, 0, 0), which is #FF0000. The converter above does both steps for you.
Why is CMYK to hex only an approximation?
CMYK describes physical ink on paper and hex describes light on a screen, so there is no exact match between them. The same CMYK numbers look different on coated and uncoated paper and on different printers, and some screen colors cannot be printed in CMYK at all. For real print work, use an ICC color profile and check a printed proof.
What CMYK values make black?
Plain black is CMYK 0, 0, 0, 100, which shows on screen as #000000. Printers often use a rich black such as 60, 40, 40, 100 for large areas, because it looks deeper on paper. On screen both recipes are #000000 — the difference only exists in print.
Related tools
Color Converter (all formats) · Hex to RGB · RGB to Hex · Pantone to Hex · Color Picker