Quick guide
How to use the HEX to CMYK Converter
- Enter or choose hex color.
- Select Convert color.
- Review the main result, supporting breakdown, and step-by-step calculation notes.
- Copy the output or download the generated file when available.
What this tool does
Convert any 6-digit web HEX color into RGB values and approximate CMYK (Cyan, Magenta, Yellow, Key/Black) print percentages. Because web screens emit RGB light while physical presses absorb light with CMYK ink, this mathematical conversion provides a fast starting baseline before ICC press proofing.
Calculation method
- Decode the 6-digit HEX code into 8-bit Red, Green, and Blue channels (0–255) and normalize each to 0.0–1.0.
- Calculate the black Key component K = 1 − max(R′, G′, B′).
- Compute Cyan, Magenta, and Yellow percentages relative to (1 − K), returning 0% for C, M, and Y when K equals 100% (pure black).
Example: converting WebToolDock blue (#2563EB)
Input: HEX color: #2563EB
Result: C 84.26% · M 57.87% · Y 0% · K 7.84% (RGB 37, 99, 235)
Normalized RGB is (0.1451, 0.3882, 0.9216). The largest channel is blue (0.9216), so K = 7.84%, Y = 0%, C = 84.26%, and M = 57.87%.
Sample web HEX to approximate CMYK conversions
| Color Name | HEX | RGB | Approx. CMYK |
|---|---|---|---|
| Pure Black | #000000 | 0, 0, 0 | 0%, 0%, 0%, 100% |
| Pure White | #FFFFFF | 255, 255, 255 | 0%, 0%, 0%, 0% |
| Web Blue | #2563EB | 37, 99, 235 | 84.3%, 57.9%, 0%, 7.8% |
| Signal Red | #DC2626 | 220, 38, 38 | 0%, 82.7%, 82.7%, 13.7% |
| Emerald Green | #059669 | 5, 150, 105 | 96.7%, 0%, 30%, 41.2% |
Practical uses
- Estimating print ink values from a brand’s web style guide
- Drafting flyers, business cards, and posters
- Teaching additive RGB versus subtractive CMYK color models
- Quick HEX-to-RGB channel inspection
Accuracy tips and common mistakes
- Mathematical sRGB-to-CMYK formulas do not account for paper stock, ink limits, or ICC press profiles (such as US Web Coated SWOP v2 or FOGRA39).
- Vibrant neon greens, electric blues, and bright oranges in HEX sit outside physical CMYK gamut and will print noticeably more muted.
- Always convert final commercial print files inside ICC-managed software (such as Adobe InDesign, Illustrator, or Affinity) and request a hard proof.