Convert hex colors to CMYK for print, with RGB and HSL values alongside.
Enter a valid Hex value, like #F59E0B
A hex code is an RGB color written in base 16. #F59E0B means red 245, green 158 and blue 11. To get CMYK, each channel is divided by 255, black (K) is set to 1 minus the largest channel, and cyan, magenta and yellow are what's left:
K = 1 − max(R, G, B)
C = (1 − R − K) ÷ (1 − K)
M = (1 − G − K) ÷ (1 − K)
Y = (1 − B − K) ÷ (1 − K)For #F59E0B that gives cmyk(0%, 36%, 96%, 4%). This is the same formula most online converters use. It doesn't account for paper or ink, so treat it as a starting point for print.
| Color | Hex | CMYK |
|---|---|---|
| White | #FFFFFF | cmyk(0%, 0%, 0%, 0%) |
| Black | #000000 | cmyk(0%, 0%, 0%, 100%) |
| Red | #FF0000 | cmyk(0%, 100%, 100%, 0%) |
| Orange | #FFA500 | cmyk(0%, 35%, 100%, 0%) |
| Yellow | #FFFF00 | cmyk(0%, 0%, 100%, 0%) |
| Green | #008000 | cmyk(100%, 0%, 100%, 50%) |
| Blue | #0000FF | cmyk(100%, 100%, 0%, 0%) |
| Purple | #800080 | cmyk(0%, 100%, 0%, 50%) |
| Pink | #FFC0CB | cmyk(0%, 25%, 20%, 0%) |
| Gray | #808080 | cmyk(0%, 0%, 0%, 50%) |
Paste the hex code above and the CMYK value appears instantly. To do it by hand, turn the hex into RGB, divide each channel by 255, set K to 1 minus the largest channel, then work out C, M and Y from what's left.
Adobe apps convert through a color profile such as U.S. Web Coated (SWOP) or Coated FOGRA39, which models a real press and paper. This tool uses the standard formula with no profile, so it's a good starting point. For final print files, convert in your design app with the profile your printer asks for.
Usually not exactly. Screens mix light and can show brighter colors than ink can. Very saturated blues, greens and oranges tend to look duller in CMYK. If a color must match, ask your printer for a proof or use a Pantone spot color.
K stands for key, which is the black plate. Printers add black ink instead of mixing cyan, magenta and yellow to make dark tones, because it's sharper and uses less ink.