Hex to CMYK Converter
Convert Hex colors to uncalibrated digital CMYK percentages (Cyan, Magenta, Yellow, Black) with print-gamut guidance.
How to Use This Tool
- Enter or paste your HEX value or choose one of the curated preset swatches.
- Copy the formatted CMYK value directly, or inspect the secondary HEX, RGB, HSL, and OKLCH chips below.
- Click into Tailwind Scale Generator or Contrast Checker to validate accessibility on the converted shade.
Key Features
- Bidirectional parsing supporting CSS Color Level 4 syntax cleanly
- K = 1 - max(R, G, B); Cyan, Magenta, and Yellow calculate as (1 - Channel - K) / (1 - K). Note: this is a mathematical approximation; commercial presses require ICC profiles.
- Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
- Zero server round-trips—every calculation executes immediately in browser memory
Digital sRGB to CMYK formula
K = 1 - max(R, G, B); Cyan, Magenta, and Yellow calculate as (1 - Channel - K) / (1 - K). Note: this is a mathematical approximation; commercial presses require ICC profiles.
Reference Snippet (Formula)
K = 1 - max(R', G', B')
C = (1 - R' - K) / (1 - K)
M = (1 - G' - K) / (1 - K)
Y = (1 - B' - K) / (1 - K)Frequently Asked Questions
Emissive RGB monitors produce saturated blues, greens, and magentas outside reflective ink gamuts. Treat browser CMYK values as a rough digital estimate before proofing.
More Color Tools
View all tools →Color Converter
Convert single or bulk colors across HEX, RGB, HSL, OKLCH, P3, CMYK, and mobile formats.
Color Picker & Eyedropper
Pick exact colors in HEX, RGB, HSL, or OKLCH and sample pixels directly from your screen.
Tailwind Color Scale
Turn any brand color into a balanced 50–950 Tailwind scale with live contrast checks.
Contrast Checker
Check text and UI contrast against WCAG AA/AAA and APCA standards, with 1-click fixes.