Bytelify

Hex to CMYK Converter: Hex Color Code to CMYK

Convert a hex color code to CMYK values for print, live as you type.

Runs in your browser, nothing sent
hex-to-cmyk
cmyk(73%, 45%, 0%, 4%)

Updates live as you type. This is a device-independent approximation — a real print CMYK value's appearance depends on the printer/paper's own ICC color profile, so treat this as a preview, not exact color matching. Runs entirely in your browser.

Need the opposite? CMYK to Hex Converter: CMYK to Hex Code

What is Hex to CMYK Converter: Hex Color Code to CMYK?

This hex to CMYK converter turns a hex color code into its CMYK (Cyan, Magenta, Yellow, Key/black) print equivalent, with a live color swatch. Use it to find a hex color in CMYK when you have a brand color as a hex code (from CSS, a design file, or a style guide) and need the CMYK values for a print vendor, business card, or packaging spec. This uses the standard device-independent formula for converting a screen hex value into subtractive (print) color percentages. Treat the result as a starting point for a print job, not a guarantee. Real print output depends on your printer and paper's own ICC color profile, which no hex-based formula can fully replicate. Everything runs entirely in your browser; nothing you enter is sent to a server.

Hex to CMYK Reference Table

HexCMYK
#0000000, 0, 0, 100
#FFFFFF0, 0, 0, 0
#FF00000, 100, 100, 0
#008000100, 0, 100, 50
#0000FF100, 100, 0, 0
#00FFFF100, 0, 0, 0
#FF00FF0, 100, 0, 0
#FFFF000, 0, 100, 0

How to Use the Hex to CMYK Converter

  1. 1

    Enter the Hex Code: Type a 6-digit hex color, with or without the leading #.

  2. 2

    Read the CMYK Result Instantly: The CMYK percentages and a live swatch appear automatically.

  3. 3

    Copy the Result: Use the copy button to copy the CMYK values for a print spec.

Hex to CMYK Conversion Formula

Hex to CMYK is a two-step conversion: first the hex code is decoded into R, G, B (0–255) by splitting it into three two-digit base-16 pairs, then each channel is run through the standard RGB-to-CMYK subtractive-color formula: K = 1 − max(R/255, G/255, B/255), C = (1−R/255−K) / (1−K), M = (1−G/255−K) / (1−K), Y = (1−B/255−K) / (1−K). This is the reverse of the math used by CMYK to Hex Converter, and the two tools always agree with each other on the same color.

How to Convert Hex to CMYK

Worked example: #0000FF (pure blue, RGB 0, 0, 255). K = 1 − max(0, 0, 1) = 0 C = (1 − 0 − 0) / 1 = 1 → 100% M = (1 − 0 − 0) / 1 = 1 → 100% Y = (1 − 1 − 0) / 1 = 0 → 0% Result: C=100, M=100, Y=0, K=0.

FAQs

Frequently Asked Questions

Common questions about Hex to CMYK Converter: Hex Color Code to CMYK.

No. Real print output depends on your printer and paper's own ICC color profile. Treat this as a preview/estimate, not exact print color matching.

Standard 6-digit hex codes (with or without a leading #), matching what CSS, design tools, and browsers use.

Use the paired CMYK to Hex Converter for the reverse direction.

Yes, Bytelify's Hex to CMYK Converter is free with no account or sign-up required.

No. The conversion runs entirely client-side in your browser, so nothing you enter is sent anywhere.

Type the 6-digit hex code into the box, with or without the leading #. The C, M, Y, and K percentages appear straight away and you can copy them with one click.