Xerobit

CMYK to RGB Converter

Enter cyan, magenta, yellow and black percentages to convert CMYK to RGB, HEX and HSL values. This cmyk to rgb converter runs entirely in your browser so nothing is uploaded to a server. Use it to translate print-ready ink values into screen-ready color codes for web and app design.

Result

  • RGB
    255, 255, 255
  • rgb()
    rgb(255, 255, 255)
  • HEX
    #FFFFFF
  • HSL
    hsl(0, 0%, 100%)

How to use the cmyk to rgb converter

  1. Enter the Cyan, Magenta, Yellow and Key (Black) percentages in the four fields.
  2. The tool instantly calculates the equivalent RGB values on a 0 to 255 scale.
  3. Copy the rgb() string or the HEX code directly into your CSS or design software.
  4. Use the HSL row if you prefer hue, saturation and lightness notation.

How the CMYK to RGB formula works

CMYK describes how much ink covers white paper, while RGB describes how much light a screen emits. To turn ink percentages into screen values, each channel is computed by subtracting the ink coverage from full brightness. The standard formula is:

R = 255 x (1 - C/100) x (1 - K/100)

The same pattern applies to green and blue using M and Y respectively. For example, a conversion of C=75, M=0, Y=75, K=0 gives R = 255 x 0.25 x 1 = 63.75, which rounds to 64. G = 255 x 1 x 1 = 255. B = 255 x 0.25 x 1 = 63.75, rounding to 64. The result is rgb(64, 255, 64), a bright green.

Common CMYK to RGB reference values

This table lists frequently used ink mixes and their screen equivalents. You can use these as quick references when you need a quick answer without opening a tool.

Color nameCMYKRGBHEX
White (paper)0, 0, 0, 0255, 255, 255#FFFFFF
Black (pure K)0, 0, 0, 1000, 0, 0#000000
Cyan100, 0, 0, 00, 255, 255#00FFFF
Magenta0, 100, 0, 0255, 0, 255#FF00FF
Yellow0, 0, 100, 0255, 255, 0#FFFF00
Red0, 100, 100, 0255, 0, 0#FF0000
Green100, 0, 100, 00, 255, 0#00FF00
Blue100, 100, 0, 00, 0, 255#0000FF

Why colors shift between CMYK and RGB

Printers mix cyan, magenta, yellow and black inks on white paper. Screens emit red, green and blue light on a dark background. Because these are fundamentally different physical processes, some colors that look vivid in print cannot be reproduced exactly on a monitor, and vice versa. The gamut of printable inks is narrower than the gamut of emitted light in certain hues, particularly bright cyans and greens.

When you convert print colors to screen colors, the mathematical formula gives the closest sRGB approximation. Professional designers often use ICC color profiles for more precise mapping, but the basic formula this converter uses is the industry standard for quick translations and web work.

Using the converted values in CSS

Once you have the RGB output, you can apply it directly in stylesheets. The rgb() function accepts three integers from 0 to 255: color: rgb(64, 255, 64);. Modern CSS also supports space-separated syntax without commas: rgb(64 255 64).

If you prefer hexadecimal notation, copy the HEX row. For example, #40FF40 is the same green shown above. HEX codes are widely used in design tools like Figma and Sketch. If you need to go the other direction, a dedicated hex to cmyk tool handles that conversion. You can also pair this page with an rgb to hex utility if you only have RGB values and need the hash format.

Edge cases and common mistakes

A frequent error is entering decimal fractions instead of percentages. CMYK values should be between 0 and 100, not 0 and 1. Entering 0.75 for cyan will produce a nearly white result instead of the intended strong cyan. Always double-check that your source file uses percentages before pasting numbers into any converter.

Another issue is rich black versus pure black. Pure black in CMYK is C=0, M=0, Y=0, K=100, which converts to RGB 0, 0, 0. Rich black adds cyan, magenta and yellow ink to create a deeper printed black, but mathematically it still converts to RGB 0, 0, 0 when K is 100 percent because the key channel zeroes out all light. If K is less than 100, the added inks darken the resulting RGB value beyond what K alone would produce.

Worked examples

ExampleInputResult
Pure cyan inkCyan (%): 100; Magenta (%): 0; Yellow (%): 0; Key / Black (%): 0RGB: 0, 255, 255; rgb(): rgb(0, 255, 255); HEX: #00FFFF; HSL: hsl(180, 100%, 50%)
Rich blackCyan (%): 60; Magenta (%): 40; Yellow (%): 40; Key / Black (%): 100RGB: 0, 0, 0; rgb(): rgb(0, 0, 0); HEX: #000000; HSL: hsl(0, 0%, 0%)
Process magentaCyan (%): 0; Magenta (%): 100; Yellow (%): 0; Key / Black (%): 0RGB: 255, 0, 255; rgb(): rgb(255, 0, 255); HEX: #FF00FF; HSL: hsl(300, 100%, 50%)
Paper white (no ink)Cyan (%): 0; Magenta (%): 0; Yellow (%): 0; Key / Black (%): 0RGB: 255, 255, 255; rgb(): rgb(255, 255, 255); HEX: #FFFFFF; HSL: hsl(0, 0%, 100%)

FAQ

What is the formula to convert CMYK to RGB?

Each RGB channel equals 255 multiplied by (1 minus the ink fraction) multiplied by (1 minus the black fraction). For red: R = 255 x (1 - C/100) x (1 - K/100). Green uses M and blue uses Y in place of C.

Why does my printed color look different from the RGB value?

Printers use subtractive ink mixing on paper while screens use additive light emission. The two gamuts do not overlap perfectly, so a mathematical conversion gives the closest sRGB approximation rather than a visually identical match.

Can CMYK values be over 100 percent?

No. Standard CMYK percentages range from 0 to 100 for each channel. Values above 100 are invalid and will cause errors in most conversion tools.

Is this cmyk to rgb converter accurate for professional print work?

It uses the standard unprofiled mathematical conversion, which is correct for general design and web use. For press-critical work, designers typically rely on ICC profiles specific to their printer and paper stock.

How do I convert the result back to CMYK?

You would reverse the formula by first extracting the black key from the minimum RGB channel, then computing each ink percentage. Dedicated tools handle this more reliably than manual calculation.

Does this tool upload my color data anywhere?

No. All calculations happen locally in your browser. No color values are sent to any server.