ColorToolkits
Format Converter

Hex to CMYK Converter

Convert Hex colors to uncalibrated digital CMYK percentages (Cyan, Magenta, Yellow, Black) with print-gamut guidance.

Converted (CMYK)
cmyk(94% 29% 0% 9%)
#0EA5E9
Try presets:

How to Use This Tool

  1. Enter or paste your HEX value or choose one of the curated preset swatches.
  2. Copy the formatted CMYK value directly, or inspect the secondary HEX, RGB, HSL, and OKLCH chips below.
  3. 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

More Color Tools

View all tools →