You have a brand HEX or RGB color and you need its CMYK build for a print job. The picker above runs the real ICC profile conversion in your browser using standard color-management math. You can also upload your print shop's own ICC profile to soft-proof against it.
RGB to CMYK formula
The textbook conversion needs no profile. Scale R, G and B to the 0 to 1 range by dividing each by 255, then:
K = 1 − max(R, G, B)C = (1 − R − K) ÷ (1 − K)M = (1 − G − K) ÷ (1 − K)Y = (1 − B − K) ÷ (1 − K)
Multiply each result by 100 to get percentages. When K is 1 the color is black, and C, M and Y are 0.
Worked example, RGB(255, 87, 51): the scaled values are 1, 0.341 and 0.2. The largest is 1, so K = 0. Then C = (1 − 1 − 0) ÷ 1 = 0, M = (1 − 0.341 − 0) ÷ 1 = 0.659 and Y = (1 − 0.2 − 0) ÷ 1 = 0.8. The result is C0 M66 Y80 K0.
Formula vs ICC profile: the same colors, three answers
The formula treats ink as the exact opposite of light. Real ink on real paper is not, which is why a printer asks for a profile by name. The profile columns are what the converter above returns for each color with perceptual intent and black point compensation. The converter shows one decimal place; this table rounds to whole percent.
| Color | Formula | U.S. Web Coated (SWOP) v2 | Coated FOGRA39 |
|---|---|---|---|
| #FF5733 · 255, 87, 51 | C0 M66 Y80 K0 | C0 M79 Y82 K0 | C0 M75 Y77 K0 |
| Coca-Cola Red · #F40009 · 244, 0, 9 | C0 M100 Y96 K4 | C7 M100 Y100 K2 | C6 M100 Y97 K2 |
| Spotify Green · #1DB954 · 29, 185, 84 | C84 M0 Y55 K27 | C95 M12 Y100 K2 | C93 M6 Y99 K0 |
| Twitter Blue · #1DA1F2 · 29, 161, 242 | C88 M33 Y0 K5 | C98 M42 Y0 K0 | C97 M39 Y0 K0 |
| Black · #000000 · 0, 0, 0 | C0 M0 Y0 K100 | C74 M68 Y67 K90 | C91 M79 Y62 K98 |
| White · #FFFFFF · 255, 255, 255 | C0 M0 Y0 K0 | C0 M0 Y0 K0 | C0 M0 Y0 K0 |
Under a profile, a saturated color pushes one or two inks to 100% or close to it, because it sits at the edge of what the press can print. Black becomes a four-ink build instead of K100. That build is not the rich black a printer specifies for large solid areas: rich black is typed in as CMYK, not converted from RGB.
Real ICC profiles, not an approximation
This page bundles the actual ICC profile files (sRGB v4 and the destination CMYK profiles) and runs them through Little CMS compiled to WebAssembly, the open-source color-management engine used by GIMP, Krita, Inkscape and ImageMagick. Numbers come from the selected ICC profile and perceptual intent, not a simple formula. Many lightweight converters skip the ICC engine and return the formula result for every paper and press.
Bundled profiles: sRGB v4 (ICC, freely distributable), U.S. Web Coated (SWOP) v2 and Coated FOGRA39 / ISO 12647-2:2004 (Adobe Color Profile Bundling Agreement).
Bring your own ICC profile
Most pro print shops have their own ICC profile that captures their press, paper, and ink behavior. Click ↑ Upload your shop's ICC in the profile picker to run the conversion against it. The file is parsed entirely in your browser. Polotno never sees it, and it is not uploaded. That lets you test your shop's profile without installing a desktop color-management app.
Converting a whole file instead of one color
This page converts color values, not files. To move an image or a document to CMYK, use the application that owns it. In Photoshop, Edit > Convert to Profile lets you choose the destination profile and rendering intent. In Illustrator, use File > Document Color Mode > CMYK Color. InDesign converts on export: in the PDF export dialog, set Output > Color Conversion to Convert to Destination.
The HEX to CMYK converter is the same engine explained for hex codes, the CMYK to RGB converter runs the same profiles in the other direction, and the Pantone to CMYK lookup covers spot colors.
