CMYK to HEX Converter
Convert CMYK print color percentages into web HEX color codes. Enter cmyk(c%, m%, y%, k%) or four numeric values and receive a normalized #RRGGBB color for web and digital use.
Quick Try
Accepts cmyk() syntax, comma-separated percentages, or plain numeric values.
Validates all four CMYK channels are between 0 and 100.
Converts through RGB and returns uppercase #RRGGBB output.
Helpful for approximating digital colors from print specifications.
Works with decimal percentages for precise conversion.
How to Use
Enter CMYK values such as cmyk(66.67%, 33.33%, 0%, 40%)
The converter parses the four percentage channels
The approximate web HEX color is generated
Copy the HEX code for CSS, design tokens, or documentation
Print to Digital
- Create web approximations from print brand specs
- Translate vendor CMYK values into CSS colors
- Build unified digital and print palette tables
Design Documentation
- Convert old print guidelines into web-ready references
- Audit color values across media
- Prepare color samples for websites and apps
| Original Text | Result |
|---|---|
cmyk(0%, 100%, 100%, 0%) | #FF0000 |
0, 0, 0, 100 | #000000 |
0 0 0 0 | #FFFFFF |
66.67, 33.33, 0, 40 | #336699 |
Digital Design
- CSS variables
- Website palettes
- App themes
- Design tokens
CMYK to HEX conversion is an approximation because CMYK depends on print profiles while HEX targets screens.
When recreating a brand color online, compare the converted HEX value visually and against official digital brand guidelines.
If a brand guide provides both CMYK and HEX, use the official HEX value rather than recalculating from CMYK.
Use official digital brand colors when available instead of converting from print values.
Label converted colors as approximations in brand documentation.
Validate CMYK inputs before conversion to avoid silent channel clamping.
Frequently Asked Questions
Find answers to common questions about our tools and services.
Understanding CMYK to HEX Converter
CMYK represents the four ink channels used in commercial print production: cyan, magenta, yellow, and black. Each channel value is a percentage from 0 to 100 indicating how much of that ink is applied to the paper. HEX is a compact hexadecimal representation of an RGB color used in web browsers and digital design tools. Converting CMYK to HEX means computing the RGB light values that approximately correspond to the ink coverage described by the CMYK channels, then formatting those RGB values as a six-digit hexadecimal string. The conversion travels in the direction from print to screen, from ink to light.
The conversion formula computes each RGB channel from the corresponding CMYK channel and the black channel. Red is calculated as 255 multiplied by one minus the cyan fraction multiplied by one minus the black fraction. Green uses magenta in place of cyan, and blue uses yellow. The fractions are obtained by dividing each CMYK percentage by 100. This formula is the standard generic CMYK-to-RGB relationship and is consistent with what design software uses when performing a quick profile-free conversion. The resulting RGB integers are then zero-padded to two hexadecimal digits and concatenated with a # prefix.
This conversion is particularly valuable for teams modernizing legacy brand guidelines. Many established brands — especially those founded before the web era — have their brand colors documented exclusively in CMYK values, Pantone references, or both. When those brands need to create or update websites, apps, or digital marketing materials, the designers and developers working on digital assets need HEX or RGB equivalents of the brand colors. Rather than guessing or sampling from a physical print swatch, they can use the CMYK values from the existing brand guide to generate a digital starting point.
It is essential to understand that CMYK-to-HEX conversion is inherently approximate in a way that is different from HEX-to-CMYK. CMYK colors are profile-dependent — the same CMYK numbers can produce visually different results when printed on different presses, with different ink formulations, or on different paper stocks. A CMYK value from a print document implicitly encodes a specific print condition, and that context is lost when converting to a screen color. The HEX output is the best generic approximation but may not match the visual color of the print original when viewed next to a physical proof, especially for colors near the edges of the print gamut.
For digital projects derived from print brand guidelines, the recommended workflow is to use this converter to generate initial HEX candidates, then visually validate those candidates against physical print samples and any official digital color specifications provided by the brand owner. Many brands that were historically print-first have now published official HEX values in updated brand guidelines, and those official digital values should always be preferred over converted approximations when they exist. This converter is the right tool for exploratory work and documentation drafts, not the final authority for brand-critical digital colors.