CMYK to Hex

Enter cyan, magenta, yellow and black percentages to get a hex color code right away. This is a simple conversion without an ICC profile, with a live preview.

  • Free
  • No sign-up
  • Runs in your browser
e.g. cmyk(66%, 78%, 0%, 9%) or 66 78 0 9 (each value 0–100)
HEX
#4F33E8

HEX#4F33E8
RGBrgb(79, 51, 232)
HSLhsl(249, 80%, 55%)
CMYKcmyk(66%, 78%, 0%, 9%)

CMYK here is a simple, device-independent conversion from RGB with no ICC color profile. Printed colors depend on paper, ink and profile, so expect differences from professional print software.

Runs in your browser — nothing you enter is sent to our servers.

How to use CMYK to Hex converter

  1. Type the values as cmyk(0%, 100%, 100%, 0%) or simply 0 100 100 0.
  2. Read the hex code and the preview swatch, which update as you type.
  3. Copy the hex code or any other format from the list.

Features

  • Accepts cmyk() or four plain numbers from 0 to 100
  • Gives a 6-digit hex code with a live color swatch
  • Also lists RGB and HSL, each with a copy button
  • Clear note about how the conversion is calculated
  • Runs in your browser with no upload

Examples

InputResult
cmyk(0%, 100%, 100%, 0%)#FF0000
cmyk(100%, 0%, 0%, 0%)#00FFFF
50 50 50 50#404040

Limitations

  • This is a naive conversion with no ICC color profile: each channel is 255 × (1 − ink) × (1 − black). Real inks and papers do not behave this way, so a printed CMYK color will not look exactly like the screen color shown here, and bright screen colors cannot always be printed. Each value must be between 0 and 100.

Learn more

Print specifications and brand guidelines often list colors in CMYK, while websites, apps and slide decks need a hex code. Converting between them is a common task for anyone who moves a design from a print layout to a screen, or the other way round.

The formula used here is the simple textbook one: each of red, green and blue equals 255 multiplied by one minus the matching ink and by one minus the black. Adding black ink darkens all three channels equally, and full cyan removes all the red. The result is consistent and useful for quick checks and mockups. For production work, use the color profile your printer recommends, because profiles model how real ink spreads and mixes on a specific paper and can shift colors noticeably.

Frequently asked questions

How do I convert CMYK to hex?

Convert each of red, green and blue to 255 × (1 − ink) × (1 − black), where ink and black are between 0 and 1, then write the three numbers as two hexadecimal digits each. The tool does this as you type.

Why does my printed color look different from the hex code?

Printing uses inks on paper, which cannot reproduce every screen color, and real conversions use ICC profiles. This tool uses a simple formula without one, so use it for estimates.

Can I enter the values as decimals like 0.5?

The tool expects percentages from 0 to 100, so enter 50 for half. Values outside that range are rejected.

What is cmyk(0%, 0%, 0%, 100%)?

It is pure black, #000000. With black ink at full strength, every channel drops to zero whatever the other three inks are.

Sources

Last reviewed: September 30, 2026