CMYK to Hex

Convert professional print CMYK percentages back to web-compatible Hexadecimal color codes with a real-time color mixer.

50%
0%
0%
10%

About the CMYK to Hex

Enter cyan, magenta, yellow and black as percentages to get the matching HEX code and RGB values for use in CSS and design tools.

Everything you enter is processed in your browser; nothing is uploaded or stored.

How to use it

  1. Enter C, M, Y and K values from 0 to 100.
  2. Check the colour swatch.
  3. Copy the HEX code (for example #1A73E8) into your CSS or design file.

CMYK to RGB/HEX formula

R = 255 × (1 − C) × (1 − K), and likewise G with M and B with Y (C, M, Y, K as fractions of 1)

Each RGB value is rounded and written as two hexadecimal digits, giving the six-digit HEX code. This is the standard device-independent conversion; printed colour depends on paper and ink profiles, so a print shop’s ICC profile may give slightly different numbers.

Example

C 0%, M 50%, Y 100%, K 0% gives R 255, G 128, B 0 – HEX #FF8000, an orange.

Frequently asked questions

Why does my printed colour look different from the screen?

Screens add light (RGB) while ink absorbs it (CMYK), and printers use colour profiles, so exact matches are not always possible.

What is K in CMYK?

Key – the black ink plate. Using black ink instead of mixing C, M and Y gives deeper blacks and saves ink.

Can I convert the other way?

Yes, with the HEX to CMYK converter.