ColorToolkits
Format Converter

CMYK to RGB Converter

Convert Cyan, Magenta, Yellow, and Key Black percentages into calibrated digital sRGB values for web previews.

Converted (RGB)
rgb(38 99 235)
#2663EB
Try presets:

How to Use This Tool

  1. Enter or paste your CMYK value or choose one of the curated preset swatches.
  2. Copy the formatted RGB 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
  • Each channel reverses subtractive ink density: R = 255 × (1 − C) × (1 − K), G = 255 × (1 − M) × (1 − K), B = 255 × (1 − Y) × (1 − K).
  • Instant clipboard feedback with live OKLCH and Display-P3 gamut safety
  • Zero server round-trips—every calculation executes immediately in browser memory

Digital Print-to-Screen Approximation

Each channel reverses subtractive ink density: R = 255 × (1 − C) × (1 − K), G = 255 × (1 − M) × (1 − K), B = 255 × (1 − Y) × (1 − K).

Reference Snippet (JavaScript)

const cmykToRgb = (c, m, y, k) => [
  Math.round(255 * (1 - c / 100) * (1 - k / 100)),
  Math.round(255 * (1 - m / 100) * (1 - k / 100)),
  Math.round(255 * (1 - y / 100) * (1 - k / 100)),
];

Frequently Asked Questions

More Color Tools

View all tools →