Tools / Color Converter / RGB → CMYK

RGB to CMYK Converter.

To convert RGB to CMYK, divide R, G and B by 255, set K to 1 minus the largest of the three, then C = (1 − R − K) / (1 − K), and M and Y the same way from G and B: rgb(27, 42, 78) becomes cmyk(65%, 46%, 0%, 69%). That is the standard screen approximation most tools display; true print color depends on paper, ink and an ICC profile, so confirm with a proof.

CMYK —
All formats

    The RGB → CMYK formula

    Normalize to 0-1. K = 1 − max(R,G,B). C = (1−R−K)/(1−K), M = (1−G−K)/(1−K), Y = (1−B−K)/(1−K). If K = 1 (pure black), C=M=Y=0.

    Worked example

    Convert rgb(27, 42, 78):

    1. Normalize → (0.106, 0.165, 0.306)
    2. K = 1 − 0.306 = 0.694 → 69%
    3. C = (1−0.106−0.694)/0.306 ≈ 65%
    4. M ≈ 46%, Y = 0%
    5. Result: cmyk(65%, 46%, 0%, 69%)

    JavaScript

    function rgbToCmyk(r,g,b){
      r/=255;g/=255;b/=255;
      const k=1-Math.max(r,g,b);
      if(k===1) return [0,0,0,100];
      return [(1-r-k)/(1-k),(1-g-k)/(1-k),(1-b-k)/(1-k),k].map(v=>Math.round(v*100));
    }

    FAQ

    Will print match my screen?

    Not exactly. RGB has a wider gamut than CMYK, so vivid blues and greens shift. This formula is a preview; for production, soft-proof with the printer's ICC profile.

    Why is there a K (black) channel?

    Mixing C+M+Y to make black wastes ink and looks muddy, so printers add a dedicated key (black) plate. K absorbs the common darkness first.

    Paid links below. As an Amazon Associate we earn from qualifying purchases.

    Library

    Colour references for your next project

    Compare the original references behind this archive. Check the contents, edition and format before choosing a book.

    Book links are Amazon Associates affiliate links. Your price is unchanged; a small commission supports the archive. As an Amazon Associate we earn from qualifying purchases.

    • A Dictionary of Color Combinations by Sanzo Wada — book cover

      Sanzo Wada

      A Dictionary of Color Combinations

      The 2010 Seigensha republication of the 1933–34 original. Japanese import.

      The printed original behind this archive: Wada's 1933–34 combinations on Seigensha's matte plates, in a Japanese binding small enough to carry, and a copy you can cite. Every plate is also free to browse here, hex values and all. Already know it? Vol. 2 is a different book of his later work.

    • A Dictionary of Color Combinations Vol. 2 by Sanzo Wada — book cover

      Sanzo Wada

      A Dictionary of Color Combinations Vol. 2

      Seigensha, 2020. Japanese import.

      Wada's 1935–36 and 1938 follow-ups: 72 plates on the Japanese seasons and 165 drawn from early-century fashion, interior, and graphic design. Not in Vol. 1. Not in this archive. The book itself is a design object — Japanese binding, matte pages, zero captions.

    Torn between the two Wada dictionaries? Vol 1 vs Vol 2, compared plate by plate →

    Book links are Amazon Associates affiliate links. Your price is unchanged; a small commission supports the archive. As an Amazon Associate we earn from qualifying purchases.

    Last updated

    Looking for a combination we don’t have yet?

    Tell us the colour, mood, or palette you were after — it shapes which editorial combinations we add next.

    Did you find what you were looking for?

    Not quite? Tap what was off: