HEX to CMYK Converter — Convert Web Colours to Print CMYK Values

Your website’s brand colour lives as a hex code, but the print shop wants ink percentages. This HEX to CMYK converter turns any hex colour — the full 6-digit code or the 3-digit shorthand — into the four CMYK values (cyan, magenta, yellow and black/key) a printer works with, alongside the RGB triplet and a CSS cmyk() line, with a live preview swatch. The conversion is the standard formula: black is drawn from the darkest side of the colour, K = 1 − max(R, G, B), and the other three inks are what remains of each channel once that black is removed. The preloaded colour, #0f766e, is this site’s deep teal and converts to C 87, M 0, Y 7, K 54 — figures you can cross-check with the reverse converter on this site. Everything happens in your browser. And keep the section below in mind: this is the faithful mathematical translation, which is what spec sheets need, but print appearance also depends on paper and press.

How a hex code becomes four ink percentages

Hex first becomes RGB: #0f766e is 15 red, 118 green, 110 blue. The CMYK formula then scales those to 0–1 (0.059, 0.463, 0.431) and asks how much black the colour contains: K = 1 − 0.463 = 0.537, printed as 54%. Black is extracted first because in printing, a shared black ink is cheaper and cleaner than building darkness from three coloured inks. Each remaining ink is then computed against what is left: cyan C = (1 − 0.059 − 0.537) / (1 − 0.537) ≈ 87%, magenta M = (1 − 0.463 − 0.537) / 0.463 = 0%, yellow Y = (1 − 0.431 − 0.537) / 0.463 ≈ 7%. Pure red #ff0000 gives the calibration answer 0, 100, 100, 0 — no cyan, no black, full magenta and yellow. Pure black is the special case: with K at 100%, the other inks are defined as 0 rather than computed, which the converter handles explicitly.

Why printers ask for CMYK at all

Screens mix light (additive RGB: more light, brighter colour); presses mix ink on paper (subtractive CMYK: more ink, darker colour). A hex code tells a press nothing directly, so artwork prepared in RGB arrives at the printer and gets converted by whatever default profile the shop uses — sometimes fine, sometimes a dull surprise, especially for saturated blues and greens that live outside the CMYK gamut entirely. Converting deliberately, and handing the printer your CMYK build, keeps the decision yours and makes the proof predictable. Business cards, flyers, packaging and exhibition graphics all start as somebody’s hex code; the builds from a converter like this are what go into the print-ready file’s colour definitions and the brand sheet the printer keeps on record.

The honest limits of a formula

This tool applies the standard mathematical conversion, which assumes an idealised press. Real output shifts with paper stock (coated vs uncoated), ink limits and the press profile — which is why a brand’s official CMYK build, when one exists, sometimes differs a point or two from the formula: it was tuned on proofs. Use the formula build as the starting point and, when the job is expensive or the colour is contractual, let the printer’s proof be the final word. Also know that very bright screen colours will print duller no matter who converts them: the CMYK gamut is smaller, and no formula prints a neon. Rich black is the opposite case — for large black areas printers often prefer a build like 60/40/40/100 over plain 0/0/0/100, which is a press choice, not something a converter should invent for you.

Frequently asked questions

What CMYK is #0f766e?

C 87%, M 0%, Y 7%, K 54% — the converter is preloaded with this colour so the worked example is on screen immediately.

Why does my colour print duller than it looks on screen?

Gamut. Screens can show colours — vivid blues, greens and neons — that four inks cannot reproduce. The CMYK values are still the closest faithful build; the difference is physics, not a conversion error.

What CMYK should I use for black text?

Plain 0, 0, 0, 100 — single-plate black keeps small text sharp. Multi-ink rich blacks are for large filled areas, and using them for body text causes registration blur.

Does the converter handle the 3-digit hex form?

Yes: #0f8 expands to #00ff88 first, then converts. Lengths other than 3 or 6 digits are rejected rather than guessed.

Related tools

Versión en español: Conversor de HEX a CMYK — Convierte Colores Web en Valores CMYK de Imprenta. You may also like: CMYK to HEX Converter — Convert Print Colours to Web Hex Codes · Hex to HSL Converter — Get HSL Values from Any Hex Colour.


Embed this tool on your website — free

Copy the code below to add this working tool to your own page. A small credit link stays with it — that’s all we ask.


1 thought on “HEX to CMYK Converter — Convert Web Colours to Print CMYK Values”

  1. Pingback: Conversor de HEX a CMYK — Convertir Hexadecimal a CMYK Gratis para Imprenta

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top