Format Converter
CMYK to Hex Converter
Convert Cyan, Magenta, Yellow, and Key (Black) percentages into browser HEX codes quickly.
Converted (HEX)
#25aee8
#25AEE8
Try presets:
How to Use This Tool
- Enter or paste your CMYK value or choose one of the curated preset swatches.
- Copy the formatted HEX 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
- Red = 255 * (1 - C) * (1 - K), and identically for Green (with M) and Blue (with Y), rounded to the closest 8-bit hex string.
- Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
- Zero server round-trips—every calculation executes immediately in browser memory
Uncalibrated CMYK to RGB math
Red = 255 * (1 - C) * (1 - K), and identically for Green (with M) and Blue (with Y), rounded to the closest 8-bit hex string.
Reference Snippet (JavaScript)
const r = Math.round(255 * (1 - c) * (1 - k));
const g = Math.round(255 * (1 - m) * (1 - k));
const b = Math.round(255 * (1 - y) * (1 - k));Frequently Asked Questions
Enter cmyk(84% 25% 0% 9%) or comma-separated percentages cmyk(84, 25, 0, 9).
More Color Tools
View all tools →Color Converter
Convert single or bulk colors across HEX, RGB, HSL, OKLCH, P3, CMYK, and mobile formats.
Open tool
Color Picker & Eyedropper
Pick exact colors in HEX, RGB, HSL, or OKLCH and sample pixels directly from your screen.
Open tool
Tailwind Color Scale
Turn any brand color into a balanced 50–950 Tailwind scale with live contrast checks.
Open tool
Contrast Checker
Check text and UI contrast against WCAG AA/AAA and APCA standards, with 1-click fixes.
Open tool