Skip to content

RGB to CMYK Converter

Convert digital RGB screen colors into physical CMYK ink values for commercial printing, packaging, and merchandise.

Source Format (From):
Target Output (To):
RGB Input:0 to 255 per channel
R
G
B
Click to Pick Color
TerracottaPantone 7608 C (Terracotta)
#E07A5F
CMYK OutputCyan, Magenta, Yellow, Key/Black
INSTANT RESULT
CSS Syntax
cmyk(0%, 46%, 58%, 12%)
Raw Values (0% to 100% per ink)
0%, 46%, 58%, 12%

All 7 Color Space Formats for #E07A5F

Click any format card to copy its full CSS value directly to your clipboard.

Instant Values
HEX
Hexadecimal Color Code
#E07A5F
RGB
Red, Green, Blue Color Model
rgb(224, 122, 95)
CMYK
Cyan, Magenta, Yellow, Key/BlackTarget
cmyk(0%, 46%, 58%, 12%)
HSL
Hue, Saturation, Lightness
hsl(13°, 68%, 63%)
HSV / HSB
Hue, Saturation, Value / Brightness
hsv(13°, 58%, 88%)
CIE-LAB
CIE L*a*b* Perceptual Space
lab(62.2 37.1 32.3)
OKLCH
Oklab Cylindrical (CSS Color 4)
oklch(82.9% 0.072 40.0)

Developer Code Snippets

Production-ready snippets formatted for web, mobile, and game engines.

Ready to Paste
CSS VariableWeb
color: #E07A5F;
Copy Snippet
CSS Display P3Wide Gamut
color(display-p3 0.878 0.478 0.373)
Copy Snippet
Tailwind CSSUtility
bg-[#E07A5F]
Copy Snippet
SwiftUIiOS / macOS
Color(hex: "E07A5F")
Copy Snippet
Flutter / DartCross-Platform
Color(0xFFE07A5F)
Copy Snippet
Unity C#Game Engine
new Color(0.878f, 0.478f, 0.373f, 1.0f);
Copy Snippet
Conversion Purpose & Workflow

Why Convert from RGB to CMYK?

Digital screens emit light using RGB sub-pixels, while commercial print presses deposit physical ink (Cyan, Magenta, Yellow, and Black) onto paper. Because screens have a wider color gamut than ink, converting RGB to CMYK ensures your brand colors print accurately without unexpected dullness or muddy shifts.

The Mathematical Formula

How to Convert RGB to CMYK Step-by-Step

  1. 1 Step 1: If using HEX, parse the 6-character hex code into 0–255 RGB channels: R, G, and B.
  2. 2 Step 2: Normalize RGB to 0.0–1.0 floats: R' = R / 255, G' = G / 255, B' = B / 255.
  3. 3 Step 3: Calculate the Key/Black ink component: K = 1 - max(R', G', B').
  4. 4 Step 4: If K = 1 (pure black), then C = 0%, M = 0%, Y = 0%, and K = 100%.
  5. 5 Step 5: For all other colors, calculate Cyan, Magenta, and Yellow: C = (1 - R' - K) / (1 - K), M = (1 - G' - K) / (1 - K), Y = (1 - B' - K) / (1 - K).
  6. 6 Step 6: Multiply by 100 to get final press ink percentages.

RGB to CMYK Frequently Asked Questions

Why do CMYK colors look duller on screen than my RGB code?

Computer displays emit light (additive color), while ink absorbs light (subtractive color). CMYK inks cannot reproduce the extreme electric greens, neons, or deep royal blues of sRGB displays. Our tool includes an out-of-gamut preview to warn you of potential print clipping.

Can I convert RGB to CMYK without Adobe Photoshop or Illustrator?

Yes! Our free online converter calculates exact mathematical CMYK percentages instantly in your browser, along with the closest Pantone ink approximation so you can specify spot colors to your printer.

What is the maximum ink coverage (Total Area Coverage / TAC)?

TAC is the sum of C + M + Y + K percentages on a single spot. Commercial print shops typically cap TAC at 300%–320% for coated paper and 260% for newsprint to prevent wet ink smudging.

How do I lock this color and create a full brand palette?

Click 'Generate Palette with this Color (Locked)' on this page. It instantly loads into Palette Studio with this color locked in slot 0, generating 4 harmonizing companion colors automatically.