Skip to main content

RGB to CMYK Converter

Type or paste a RGB color: With commas or spaces, rgba(), three bare numbers, a HEX code or a CSS color name.

cmyk(0%, 100%, 100%, 0%)
RGB:rgb(255, 0, 0)
CMYK:cmyk(0%, 100%, 100%, 0%)

CSS Usage:

CMYK is not a CSS color format, so the CSS below uses the HEX equivalent.

background-color: #FF0000;
color: #FF0000;
border: 1px solid #FF0000;

Popular Examples:

How to Convert RGB to CMYK

RGB to CMYK conversion is critical for print design. Screen colors use RGB (light-based), while printers use CMYK (ink-based). For example, rgb(255, 0, 0) becomes cmyk(0%, 100%, 100%, 0%). Keep in mind that CMYK has a narrower color gamut — some vibrant RGB colors cannot be accurately reproduced in print. Always verify your CMYK values with your print provider. These values come from the simple formula without a print profile, so for a print job use the CMYK values from your printer's profile. Values here are rounded to whole numbers, so converting them back can differ by a few steps per channel: rgb(30, 144, 255) gives cmyk(88%, 44%, 0%, 0%), and that turns back into rgb(31, 143, 255).

Step by step for the color above

  1. Divide each channel by 255: R′ = 255/255 = 1, G′ = 0/255 = 0, B′ = 0/255 = 0
  2. Black: K = 1 − max(R′, G′, B′) = 1 − 1 = 0
  3. C = (1 − R′ − K) / (1 − K) = 0, M = (1 − G′ − K) / (1 − K) = 1, Y = (1 − B′ − K) / (1 − K) = 1
  4. As whole percent: cmyk(0%, 100%, 100%, 0%)

Why Use This Converter?

  • Instant real-time conversion
  • Free online tool - no registration required
  • Live color preview
  • CSS code examples
  • One-click copy to clipboard