CMYK to Hex Converter

Convert CMYK print colors to hex codes for the web, with RGB and HSL values alongside.

Enter a valid CMYK value, like cmyk(0%, 72%, 72%, 6%)

  • Hex
  • RGB
  • HSL

How CMYK to hex conversion works

CMYK describes how much cyan, magenta, yellow and black ink to print. To show it on screen, each ink is turned into red, green and blue light, then written as a hex code:

R = 255 × (1 − C) × (1 − K)
G = 255 × (1 − M) × (1 − K)
B = 255 × (1 − Y) × (1 − K)

For cmyk(0%, 72%, 72%, 6%) that gives red 240, green 67 and blue 67, which is #F04343. Because CMYK values are usually rounded to whole percentages, converting back and forth can shift the hex by a point or two.

Common colors in hex

ColorCMYKHex
Whitecmyk(0%, 0%, 0%, 0%)#FFFFFF
Blackcmyk(0%, 0%, 0%, 100%)#000000
Redcmyk(0%, 100%, 100%, 0%)#FF0000
Orangecmyk(0%, 35%, 100%, 0%)#FFA500
Yellowcmyk(0%, 0%, 100%, 0%)#FFFF00
Greencmyk(100%, 0%, 100%, 50%)#008000
Bluecmyk(100%, 100%, 0%, 0%)#0000FF
Purplecmyk(0%, 100%, 0%, 50%)#800080
Pinkcmyk(0%, 25%, 20%, 0%)#FFC0CB
Graycmyk(0%, 0%, 0%, 50%)#808080

Questions

How do I convert CMYK to hex?

Type the four CMYK percentages above, in any format like 0, 72, 72, 6 or cmyk(0%, 72%, 72%, 6%). The hex code updates as you type. By hand, multiply 255 by (1 − C) and (1 − K) to get red, do the same with M for green and Y for blue, then write each number in base 16.

Why doesn't the hex color match my printed color?

Ink on paper and light on a screen can't show exactly the same range of colors. This tool uses the standard formula without a color profile, so the result is close but not exact. If a brand guide lists both, use its official hex value for the web.

Can every CMYK color be shown on screen?

Almost all of them. CMYK covers a smaller range of colors than screens can show, so going from CMYK to hex rarely loses anything. The harder direction is hex to CMYK, where bright screen colors can't always be printed.

Do I need percentages or decimals?

Use percentages from 0 to 100, which is how design apps and brand guides list CMYK. The % signs are optional.

Landings
Landing Page Examples
Copyright © 2026. All rights reserved.