Polotno

Color converter

RGB to CMYK converter

Convert RGB or HEX to CMYK with real ICC profile conversion (U.S. Web Coated SWOP v2 and Coated FOGRA39) computed in your browser via Little CMS. Free, no signup, fully client-side.

Quick picks

CMYK press profile

Dominant US offset standard for coated paper. Default for North-American print shops. Source RGB is sRGB v4. Conversion runs in your browser via Little CMS when the profile is available. Formula approximations are labeled above. Upload your print shop's own .icc to soft-proof against it (the file never leaves your browser).

On screen (sRGB)

What you see on this monitor

#FF5733

Formula preview · no ICC profile

Approx. how the CMYK ink looks once printed

#FF5733

RGB · 0–255

CMYK · 0–100%

Cyan0%
Magenta65.9%
Yellow80%
Key (black)0%

Quick answers

  • #FF5733 RGB(255, 87, 51) → C0 M66 Y80 K0 by formula · ≈ C0 M75 Y77 K0 on Coated FOGRA39
  • Black RGB(0, 0, 0) → C0 M0 Y0 K100 by formula · ≈ C74 M68 Y67 K90 on U.S. Web Coated (SWOP) v2
  • Red RGB(255, 0, 0) → C0 M100 Y100 K0 by formula · ≈ C0 M100 Y100 K1 on Coated FOGRA39
  • #1DA1F2 (Twitter Blue) → C88 M33 Y0 K5 by formula · ≈ C97 M39 Y0 K0 on Coated FOGRA39
  • #1DB954 (Spotify Green) → C84 M0 Y55 K27 by formula · ≈ C93 M6 Y99 K0 on Coated FOGRA39

Quick answer

Enter an RGB or HEX color above and pick the ICC profile your printer uses. #FF5733 is C0 M66 Y80 K0 by formula and about C0 M79 Y82 K0 on U.S. Web Coated (SWOP) v2.

Formula: K = 1 − max(R, G, B); C = (1 − R − K) ÷ (1 − K); M and Y the same with G and B (R, G, B scaled to 0–1)

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.

ColorFormulaU.S. Web Coated (SWOP) v2Coated FOGRA39
#FF5733 · 255, 87, 51C0 M66 Y80 K0C0 M79 Y82 K0C0 M75 Y77 K0
Coca-Cola Red · #F40009 · 244, 0, 9C0 M100 Y96 K4C7 M100 Y100 K2C6 M100 Y97 K2
Spotify Green · #1DB954 · 29, 185, 84C84 M0 Y55 K27C95 M12 Y100 K2C93 M6 Y99 K0
Twitter Blue · #1DA1F2 · 29, 161, 242C88 M33 Y0 K5C98 M42 Y0 K0C97 M39 Y0 K0
Black · #000000 · 0, 0, 0C0 M0 Y0 K100C74 M68 Y67 K90C91 M79 Y62 K98
White · #FFFFFF · 255, 255, 255C0 M0 Y0 K0C0 M0 Y0 K0C0 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.

Frequently asked questions

Q: How do I convert RGB to CMYK accurately?

Accurate RGB to CMYK conversion needs an ICC profile engine, the same kind of color-management pipeline your print shop uses. This page bundles U.S. Web Coated (SWOP) v2 and Coated FOGRA39 ICC profiles and runs the conversion in your browser via Little CMS (lcms-wasm), so the numbers reflect the selected profile and rendering intent (perceptual). For color-critical production work, soft-proof with your shop's exact ICC profile. The bundled profiles cover common US and European offset standards, but every press has its own quirks.

Q: What is the formula for converting RGB to CMYK?

Divide R, G and B by 255 to get values from 0 to 1. 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), and multiply each by 100 for percentages. If K is 1 the color is black and C, M, Y are 0. For RGB(255, 87, 51) that gives C0 M66 Y80 K0. The formula knows nothing about ink or paper, so treat it as a first estimate: an ICC conversion of the same color to Coated FOGRA39 gives roughly C0 M75 Y77 K0.

Q: Why does my screen RGB look different in CMYK print?

RGB is additive (light) and has a wider gamut than CMYK (ink). Monitors can render saturated electric blues, neon greens, and pure magentas that a four-color press cannot reproduce. When the printer mixes ink, those out-of-gamut colors get clipped to the nearest in-gamut equivalent, which usually looks duller. Soft-proof in your design tool against your print shop's CMYK profile before sending to press; the bigger the gap, the more your design relies on out-of-gamut color.

Q: Can I convert RGB to CMYK without the colors changing?

Only for colors that already sit inside the CMYK gamut of your press and paper. Muted and mid-tone colors usually survive with no visible shift. Saturated screen colors (pure RGB blue, neon green, hot pink) have no ink equivalent, so any conversion moves them to the nearest printable color. To keep the shift small, convert with the profile your printer names, compare the two swatches above, and adjust the RGB color until you accept the press preview.

Q: Which ICC profile should I pick for offset printing?

European offset printers often ask for Coated FOGRA39 or ISO Coated v2 (both built on the FOGRA39 dataset), or the newer PSO Coated v3 (FOGRA51). American printers often ask for U.S. Web Coated (SWOP) v2 or a GRACoL profile. For uncoated stock, use the uncoated profile your shop specifies. If your print shop hasn't told you which profile, ask. They'll have a preferred ICC. This page bundles two common profiles (SWOP v2 and FOGRA39); for shops using a different profile, upload their exact ICC file here.

Q: Why does RGB black become four inks instead of K100?

The formula maps RGB(0, 0, 0) to C0 M0 Y0 K100, a single black plate. An ICC profile maps it to the darkest color the press can print, which uses all four inks: about C74 M68 Y67 K90 on U.S. Web Coated (SWOP) v2. That is right for photos and large dark areas, and wrong for small black text, where four plates can misregister. For text, type K100 directly into the CMYK fields of your design tool rather than converting from RGB.

Q: How do I convert RGB to CMYK in Photoshop or Illustrator?

In Photoshop, Edit > Convert to Profile lets you pick the destination CMYK profile and rendering intent; Image > Mode > CMYK Color does the same conversion with the working CMYK profile from Edit > Color Settings. In Illustrator, File > Document Color Mode > CMYK Color switches the whole document. InDesign leaves placed images in their own color space and converts on export: in File > Export > Adobe PDF (Print), set Output > Color Conversion to Convert to Destination and choose the profile.

Q: Can this page convert an image or a PDF from RGB to CMYK?

No. It converts color values: one RGB or HEX color in, one CMYK build out. Converting a whole JPG, PNG or PDF means re-encoding every pixel and embedding a profile, which is a job for Photoshop or Affinity Photo (images) and Acrobat Pro (PDFs). Use this page to find the CMYK build for brand colors and to see how far a color will shift before you convert the file.

Q: Can I convert HEX to CMYK?

Yes. HEX is just a string-encoded RGB triplet, so converting HEX to CMYK is a two-step pipeline: HEX → RGB, then RGB → CMYK. The converter on this page accepts HEX with or without the leading hash (e.g. #FF5733 or FF5733) and updates the CMYK values live. Saturated brand colors such as Spotify Green (#1DB954) and Twitter Blue (#1DA1F2) shift visibly when converted. Pay attention to the press-preview swatch.

Want this in your app? Embed Polotno SDK.

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai