CMYK to HEX Converter

Got a print color and need its web code? Set your Cyan, Magenta, Yellow, and Black values below. The tool shows the HEX, RGB, and HSL result instantly.

%
%
%
%
#1A74E8
RGB Value rgb(26, 116, 232)
HSL Value hsl(214, 81%, 51%)
CMYK Formula cmyk(89%, 50%, 0%, 9%)

How to Use This CMYK to HEX Converter

  1. Set your CMYK values. Drag each slider or type a number from 0 to 100 in the box.
  2. Check the live preview. The color block updates as you move.
  3. Copy what you need. Use the buttons to copy the HEX, RGB, HSL, or CMYK value.

Want inspiration? Click Random Color. Want a clean start? Click Reset Tool.

What You Get with Every Conversion

  • HEX code, like #4874E8, for websites, CSS, and design tools
  • RGB value, like rgb(72, 116, 232), for apps and screens
  • HSL value, like hsl(224, 78%, 60%), handy for making lighter or darker shades
  • CMYK formula, ready to paste back into your print notes

What Is CMYK?

CMYK stands for Cyan, Magenta, Yellow, and Key (black). Printers use these four inks to create every color on paper.

Each value runs from 0% to 100%. More ink means a darker color.

CMYK is a subtractive model. Ink absorbs light, so adding more ink makes the result darker.

What Is a HEX Code?

A HEX code is a six-character color code used on the web. It starts with #.

It has three pairs of characters, one each for red, green, and blue. For example, #4874E8 means:

  • 48 = red
  • 74 = green
  • E8 = blue

Screens create color by adding light. This is an additive model, called RGB. HEX is just a shorter way to write RGB.

How CMYK Is Converted to HEX

The tool uses the standard mathematical formula:

  • Red = 255 × (1 − C) × (1 − K)
  • Green = 255 × (1 − M) × (1 − K)
  • Blue = 255 × (1 − Y) × (1 − K)

Here, C, M, Y, and K are written as decimals (69% becomes 0.69). Each result is rounded, then turned into a two-character HEX pair.

Worked Example

Let’s convert C 69%, M 50%, Y 0%, K 9%:

  • Red: 255 × 0.31 × 0.91 = 72 → 48
  • Green: 255 × 0.50 × 0.91 = 116 → 74
  • Blue: 255 × 1.00 × 0.91 = 232 → E8

Result: #4874E8, a bright royal blue.

Quick Reference: Common CMYK to HEX Values

ColorCMYKHEX
White0, 0, 0, 0#FFFFFF
Cyan100, 0, 0, 0#00FFFF
Magenta0, 100, 0, 0#FF00FF
Yellow0, 0, 100, 0#FFFF00
Black0, 0, 0, 100#000000
Royal Blue69, 50, 0, 9#4874E8

Why Your Printed Color May Not Match the Screen

This matters, so read it before you send a file to print.

Screens and printers create color in different ways. Many bright, glowing screen colors cannot be printed with ink. Paper type, ink brand, and printer settings also change the result.

This converter uses the standard formula. It does not use an ICC color profile, which is what professional print workflows use to match a specific printer and paper.

What this means for you:

  • The HEX result is a very good starting point for web and screen use.
  • For critical print jobs, such as brand colors, check a printed proof.
  • Ask your printer which color profile they use.

Common Uses

For Web Designers

A client sends brand colors in CMYK from their print guide. Convert them here and paste the HEX into your CSS.

For Graphic Designers

Moving a print design onto a website or social post? Convert the colors to keep the look consistent.

For Brand Managers

Keep print and digital colors documented side by side. Copy the RGB, HEX, and CMYK values into your style guide.

For Students and Beginners

Move one slider at a time and watch the HEX code change. It’s a fast way to learn how color mixing works.

Tips for Better Color Conversions

  • Pure black behaves differently. Setting K to 100% always gives #000000 in this formula, whatever the other values are. In real print, designers often add other inks to a “rich black” for deeper results.
  • Small changes can matter. A 2–3% shift in a CMYK value can change a HEX pair noticeably, especially in light tints.
  • Keep your original values. Save the CMYK formula alongside the HEX code so you can always return to the print version.
  • Use HSL to build a palette. Once you have your HSL value, keep the hue and adjust lightness to make matching shades.

Frequently Asked Questions

How do I convert CMYK to HEX?

Enter your C, M, Y, and K values in the converter. The HEX code appears right away. You can then copy it with one click.

Is the conversion 100% exact?

It’s mathematically exact for the standard formula. Real printed colors can still differ because of paper, ink, and printer profiles.

Why is #000000 the result when K is 100%?

Under the standard formula, full black ink blocks all light, so red, green, and blue all become zero.

Can I convert HEX back to CMYK?

Yes, with the same math in reverse. The CMYK formula shown in the tool is calculated from the same color, so you can copy it for reference.

What is the difference between RGB and HEX?

They describe the same color. RGB uses three numbers from 0 to 255. HEX writes those numbers in base 16 as a six-character code.

Does CMYK to HEX work for print-ready files?

HEX is for screens. For print files, keep your design in CMYK and use a proper color-managed workflow.

Do I need to sign up or install anything?

No. The tool runs in your browser. Just open it and start converting.

Final Thoughts

Print and screen colors speak different languages. This converter translates between them in seconds. Use it to get accurate web-ready codes, and always confirm print-critical colors with a proof.