CMYK to HEX Converter
Convert CMYK percentages directly to a HEX color code, via the standard CMYK to RGB to HEX conversion.
Cyan (C)
86%
Magenta (M)
38%
Yellow (Y)
0%
Key (K / Black)
5%
HEX Result:
Color Preview:
How to Use the CMYK to HEX Converter
Adjust the Cyan, Magenta, Yellow, and Key (Black) sliders (0-100% each) and this tool converts your print-style CMYK color straight to a web-ready HEX code. Internally it first converts CMYK to RGB using the standard formula, then converts that RGB result to a 6-digit hexadecimal code — the format CSS and most design software expect.
R = 255×(1−C/100)×(1−K/100) | G uses M | B uses Y → HEX
Example
CMYK (86%, 38%, 0%, 5%) converts to RGB (34, 150, 242), then to hex code #2296F2 — a vivid blue.
Common Use Cases
- Turning a print spec's CMYK ink percentages directly into a hex code for a website or app.
- Matching a brand's print color to its closest on-screen hex equivalent for CSS.
- Getting a copy-paste-ready hex value without a separate RGB conversion step.
FAQs
- How is this different from the CMYK to RGB Converter? The CMYK to RGB Converter stops at RGB values (like rgb(34, 150, 242)) — useful when you need individual red, green, and blue numbers. This CMYK to HEX Converter takes that same conversion one step further and outputs a ready-to-use hex code (like #2296F2) instead, which is the format most needed for CSS, HTML, and web design work.
- Why might the on-screen hex color look different from the printed CMYK color? CMYK printing depends on ink, paper stock, and printer or press calibration, none of which this formula accounts for. The conversion gives a mathematically consistent approximation, not a color-managed print preview, so always confirm important brand colors with a physical proof.
- What's the formula behind a CMYK to HEX conversion? CMYK is first converted to RGB using R = 255×(1−C)×(1−K), G = 255×(1−M)×(1−K), and B = 255×(1−Y)×(1−K) (with C, M, Y, K as fractions of 1), then each RGB channel (0-255) is converted to a 2-digit hexadecimal number and joined with a # in front.
