Skip to main content
ToolCube – All tools at one place.

CMYK to HEX Converter

Turn CMYK percentages from a print brand guide into a HEX code you can use on websites, in apps and in design tools.

  • CMYK to HEX preselected
  • Every format with Copy
  • Contrast checker

Convert a color

Detected: CMYK

RGB
HSL

All formats

  • HEX#ff6600
  • RGBrgb(255, 102, 0)
  • HSLhsl(24, 100%, 50%)
  • HSV / HSBhsv(24, 100%, 100%)
  • CMYKcmyk(0%, 60%, 100%, 0%)
  • Nameclosest: orangered
  • CSScolor: #ff6600;

CMYK values are an approximation for screen colors; printed colors depend on the printer profile.

Pick a color from an image

Upload a photo or screenshot (JPG, PNG, WebP, AVIF or iPhone HEIC), then click or tap any point to pick its color. The image stays on your device.

Want to recolor part of an image? Try Change Image Color.

Shades, tints and harmonies

Shades (darker)

  • #e85d00
  • #d15300
  • #b94a00
  • #a24100
  • #8b3800
  • #742e00
  • #5d2500
  • #461c00
  • #2e1300
  • #170900

Tints (lighter)

  • #ff7417
  • #ff822e
  • #ff9046
  • #ff9e5d
  • #ffac74
  • #ffb98b
  • #ffc7a2
  • #ffd5b9
  • #ffe3d1
  • #fff1e8

Harmonies

Complementary – Opposite on the color wheel (180°).

Analogous – Neighbours 30° either side.

Triadic – Three colors 120° apart.

Split-complementary – The two colors next to the complement (150° and 210°).

Tetradic (square) – Four colors 90° apart.

Contrast checker (WCAG)

  • Your color on white

    2.93:1

    Sample of your color as text on #ffffff: contrast 2.93:1.

    • AA normal: Fail
    • AA large: Fail
    • AAA normal: Fail
    • AAA large: Fail
  • Your color on black

    7.15:1

    Sample of your color as text on #000000: contrast 7.15:1.

    • AA normal: Pass
    • AA large: Pass
    • AAA normal: Pass
    • AAA large: Pass
  • Your color on #1e3a8a

    3.52:1

    Sample of your color as text on #1e3a8a: contrast 3.52:1.

    • AA normal: Fail
    • AA large: Pass
    • AAA normal: Fail
    • AAA large: Fail

Guide

How to convert CMYK to HEX

  1. Convert each CMYK percentage to a fraction from 0 to 1.
  2. R = 255 × (1 − C) × (1 − K), G = 255 × (1 − M) × (1 − K), B = 255 × (1 − Y) × (1 − K).
  3. Round each value to a whole number from 0 to 255.
  4. Write each as two hex digits after a #: cmyk(0, 60, 100, 0) is #ff6600.

Using print colors online

Older brand guides and print templates often define colors only as CMYK percentages. Websites, email templates and social media graphics need HEX codes instead. This converter gives the screen equivalent using the standard formula, ready to copy into CSS or a design tool.

The result is a good approximation, but print and screen colors are produced in different ways, so a color matched by eye to a printed sample may need small adjustments. If your organisation has official RGB or HEX values, those should take priority.

Checking the result

After converting, look at the preview and the contrast checker. A brand color that worked well as a print background might not give enough contrast with white text on screen. If it fails the WCAG check, use one of the darker shades shown below the converter for text and buttons.

Remember that CMYK values in some software use 0 to 1 instead of 0 to 100. Multiply those by 100 before entering them here, or the converter will read them as very light colors.

From print templates to web pages

Print templates, such as business cards or brochures, often define a color palette in CMYK. Converting each color to HEX lets you build a matching website, email signature or social media template quickly. Note the HEX values next to the CMYK ones in your brand guide, so designers and developers always use the same pair.

After converting, compare the colors on a few different screens; phones and laptops can show the same HEX code slightly differently.

CMYK to HEX chart of common colors

CMYK to HEX values for common colors
ColorCMYKHEX
Blackcmyk(0%, 0%, 0%, 100%)#000000
Whitecmyk(0%, 0%, 0%, 0%)#ffffff
Redcmyk(0%, 100%, 100%, 0%)#ff0000
Limecmyk(100%, 0%, 100%, 0%)#00ff00
Bluecmyk(100%, 100%, 0%, 0%)#0000ff
Yellowcmyk(0%, 0%, 100%, 0%)#ffff00
Cyancmyk(100%, 0%, 0%, 0%)#00ffff
Magentacmyk(0%, 100%, 0%, 0%)#ff00ff
Silvercmyk(0%, 0%, 0%, 25%)#c0c0c0
Graycmyk(0%, 0%, 0%, 50%)#808080
Marooncmyk(0%, 100%, 100%, 50%)#800000
Olivecmyk(0%, 0%, 100%, 50%)#808000
Greencmyk(100%, 0%, 100%, 50%)#008000
Purplecmyk(0%, 100%, 0%, 50%)#800080
Tealcmyk(100%, 0%, 0%, 50%)#008080
Navycmyk(100%, 100%, 0%, 50%)#000080
Orangecmyk(0%, 35%, 100%, 0%)#ffa500
Tomatocmyk(0%, 61%, 72%, 0%)#ff6347

Other colors: use the converter above or the Color Converter.

FAQ

Frequently Asked Questions

Answers to common questions about CMYK to HEX on ToolCube.

What is cmyk(100, 0, 0, 0) in HEX?

It is #00ffff, the screen color cyan (aqua).

Will the HEX color look like my printed sample?

Close, but not identical: paper, ink and lighting change how printed colors look.

Why is my converted color very light?

Your values may be on a 0 to 1 scale. Multiply them by 100 first, so 0.6 becomes 60.