UTILS.
Private by default
cmyk

CMYK to RGB Converter

Convert colors between CMYK and RGB/HEX with a live swatch.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Convert between CMYK percentages and RGB or HEX colours in either direction, with a live swatch, all in your browser.

Enter cyan, magenta, yellow and black values from 0 to 100 and the HEX field and result tiles update at once. Type a HEX colour instead, with or without the leading #, in either 3-digit or 6-digit form, and the four CMYK fields are filled in for you. Values outside 0-100 are clamped, an empty CMYK field counts as 0, and a HEX value that is not valid is simply ignored until it is complete. The results appear as three tiles, HEX, RGB and CMYK, and clicking a tile copies its text.

The maths is the plain textbook formula with no colour profile: each RGB channel is 255 × (1 − ink) × (1 − K). Going from RGB to CMYK, pure black becomes 0, 0, 0, 100. The CMYK fields are rounded to whole percentages, so converting a colour back and forth can shift it by a point or so.

Nothing is uploaded; the conversion is done by the page itself.

Frequently asked questions

How is CMYK converted to RGB?
Each RGB channel is 255 × (1 − ink) × (1 − K), where ink is the matching cyan, magenta or yellow fraction. The result is rounded to a whole number and written as a HEX colour.
Why might a print colour look different on screen?
CMYK is subtractive ink and RGB is emitted light. This tool is a mathematical conversion with no ICC profile, so exact print matching needs your printer's calibrated profile and a proof.
What HEX formats can I type?
Three-digit (#3bf) and six-digit (#3b82f6) values, with or without the #, in any letter case. Anything else is ignored and the last valid result stays on screen.
Why does my colour change slightly after converting back and forth?
The CMYK fields are rounded to whole percentages. RGB to CMYK to RGB therefore can land a step or two away from where you started.

More tools