Conversion Tools100% Client-Side

Convert Hex Color Codes to CMYK

Paste a three- or six-digit hex color to estimate its cyan, magenta, yellow, and black percentages. The converter expands shorthand, reads the three RGB channels, and returns whole percentages in C, M, Y, K order. This is useful when a web palette contains hex values and a design note needs a rough ink reference. Final print color depends on the specified output profile and material.

Input
7 chars•1 lines
Output

Reverse tool

CMYK to Hex Color Converter

Convert four CMYK ink percentages into a six-digit hexadecimal color. Copy an approximate screen swatch into CSS, design notes, or a palette fixture.

Open CMYK to Hex Color Converter
Example input
cmyk(0%, 100%, 100%, 0%)
Example output
#ff0000

How to Use the Hex to CMYK Color Converter Online

  1. 1Paste the color code with or without the leading hash sign.
  2. 2Use three digits for shorthand or six digits for the full red, green, and blue pairs.
  3. 3Read the percentages in cyan, magenta, yellow, and black order.
  4. 4Keep the original hex value with your notes if the screen color will be needed again.

Input & Output Examples

The shorthand expands to #00aaff, and a full-strength blue channel leaves K at zero.

Input Sample
#0af
Expected Output
cmyk(100%, 33%, 0%, 0%)

The three channels match, so the approximation uses only black.

Input Sample
808080
Expected Output
cmyk(0%, 0%, 0%, 50%)

Practical Developer Workflows

  • Add approximate ink values to a project note that starts with web palette codes.
  • Check that shorthand and full-length hex notation yield identical values for the same swatch.
  • Compare several neutral palette colors by recording the black percentage for each one.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

Each digit is doubled inside its own channel. For example, #0af expands to #00aaff. Both forms produce the same RGB values before the converter calculates the four percentages, so either input is suitable for the same color.

Explore Other Tools

12 suggested tools

View all tools