About the CMYK to RGB Converter
Brand guides and print files often list colors in CMYK, but websites, apps and presentations need RGB or HEX. This CMYK to RGB converter turns cyan, magenta, yellow and black percentages into RGB values and a HEX code, with a preview and the formula: C0 M100 Y100 K0 becomes pure red, rgb(255, 0, 0). Screens can show some colors that ink cannot and the reverse, so compare the result with the printed brand color by eye.
Each CMYK value is divided by 100. Then red = 255 × (1 − C) × (1 − K), green = 255 × (1 − M) × (1 − K) and blue = 255 × (1 − Y) × (1 − K), each rounded to a whole number. The HEX code writes those three numbers in base 16. With 100% black, every channel is 0 whatever the other inks, because black covers everything.
Example: C 84%, M 58%, Y 0%, K 8% gives red = 255 × 0.16 × 0.92 = 37.5, green = 255 × 0.42 × 0.92 = 98.5 and blue = 255 × 1 × 0.92 = 234.6, so rgb(38, 99, 235), HEX #2663EB. C 0%, M 100%, Y 100%, K 0% is pure red, #FF0000.
This standard formula ignores ICC profiles, so the on-screen color is an approximation of the printed one. For the reverse direction use the RGB to CMYK converter, for HEX codes the HEX to RGB converter, and to check text contrast the color contrast checker.
How to use the CMYK to RGB Converter
- Enter the CMYK valuesCyan, magenta, yellow and black from 0 to 100%.
- Read the RGB valuesRed, green and blue from 0 to 255.
- Copy the HEX codeReady for CSS, design tools and slides.
- Check the previewSee the color and follow the formula.
CMYK to RGB Converter features
- CMYK to RGB values
- HEX code for CSS
- Color preview
- Formula with your values
- Handles 100% black
- CSS rgb() string
- Instant results
Common uses
- Matching print brand colors online
- Building websites from a print style guide
- Presentations and social graphics
- Converting colors from PDFs
- Design students learning color models
CMYK to RGB in practice: bringing a printed brand online, colours locked in print files, CMYK images on the web and digital invitations
Many businesses start with printed materials: business cards, shop boards, packaging and wedding cards designed in CMYK by a local printer. When the same brand moves online, its colours need screen equivalents. This guide converts a printed brand colour for a website and covers finding colours in print files, the trouble CMYK images cause on the web, digital versions of printed invitations and choosing colours that feel right rather than merely matching numbers.
A worked example: a printed brand goes online
A restaurant's menus and boards use an orange-red printed as C 0, M 85, Y 90, K 0. Converted with the standard formula, that gives rgb(255, 38, 25), or #FF2619. On screen it looks brighter and more intense than the printed menu, because screens emit light while paper reflects it. The owner settles on a slightly softer red for the website that feels like the printed colour, and records both values in a short brand sheet.
Finding colours in print files
Print-ready PDFs and design files contain the exact CMYK values used. Design software and PDF editors with print production tools can show the values of any object, such as a logo or a background. Taking values from these files is far more reliable than holding a printed card up to a screen.
When only print values exist
Older businesses often have brand guides listing only CMYK or spot colour references. Converting them once, checking the results on several screens and recording official RGB and HEX values creates a complete guide. Everyone working on the website and social media can then use the same digital colours.
CMYK images on the web
Photos and graphics saved in CMYK for printing can display incorrectly on websites and in some apps, sometimes with strange, inverted-looking colours, and they are usually larger than necessary. Convert images to sRGB before uploading them online, using an image editor's colour conversion, and compress them for faster loading.
Digital invitations from printed cards
Wedding and event cards are often designed for print and then shared as images on WhatsApp. Exporting the design in RGB, with colours checked on a phone, avoids dull or oddly shifted results. Gold foil and spot colours cannot be reproduced on screen, so a gold-coloured gradient or a photo of the printed card may represent them better.
Spot colours need lookups
Spot colours from printing colour systems are specific mixed inks, not CMYK builds, so a formula cannot convert them accurately. The colour system publishes approximate screen values for each reference. Use those published values rather than converting a CMYK approximation of the spot colour.
Match the feeling, not the numbers
Because screens are brighter and more saturated than paper, an exact mathematical conversion may look wrong beside the printed piece. The goal is a colour that people recognise as the same brand. Comparing the screen colour with the printed sample under good daylight, and adjusting slightly, often gives a better result than the raw formula.
Checking on several screens
Phones, laptops and monitors display colours differently. After choosing web colours, view them on two or three devices, including an ordinary phone, before finalising. If the colour looks acceptable on all of them, it will serve the brand well across the devices customers actually use.
Common mistakes
- Uploading CMYK images straight to websites.
- Converting spot colours with a CMYK formula.
- Sampling colours by photographing printed material.
- Expecting screen colours to look identical to print.
Related tools
To prepare colours for printing, use RGB to CMYK Converter. For HSL and other formats, try Color Converter, and to shrink images for the web after converting them, Image Compressor.
Backlit signs
Shop signs printed on translucent flex material and lit from behind, common on shopfronts across Pakistan, show colours quite differently by day and when lit at night. Colours that look right unlit can glow too brightly or shift in hue once illuminated. Ask the sign maker for a lit sample of key colours before printing a large board.
Office documents
Letterheads, invoices and reports made in Word or similar programs are designed on screen in RGB, and office printers convert colours with their own settings. Use the brand's official RGB values in these templates rather than CMYK numbers, and accept that office printers will not match professionally printed stationery exactly.
Photographing printed products
For online catalogues of printed items, such as cards, packaging and stationery, photograph the products in neutral daylight and correct the photos against a known reference, rather than recolouring designs from their CMYK values. Customers then see what the physical product really looks like, which reduces disappointment and returns.
Presentations and projectors
Projectors wash out colours and lower contrast, especially in bright rooms. Brand colours converted for screens may look faded when projected. Using stronger contrast between text and backgrounds in presentation templates keeps slides readable in classrooms and meeting rooms.
Privacy
Conversion runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
How do I convert CMYK to RGB?
Use R = 255 × (1 − C) × (1 − K), G = 255 × (1 − M) × (1 − K) and B = 255 × (1 − Y) × (1 − K), with C, M, Y and K as decimals from 0 to 1. Round each result.
How do I convert CMYK to HEX?
First convert to RGB, then write each value as two hexadecimal digits. rgb(38, 99, 235) is #2663EB. The converter shows the HEX code directly.
Why does my CMYK color look different on screen?
Screens show light and printers use ink, and the simple formula ignores the paper and ink profile. The converted color is a close guide, not an exact match to the printed sample.
What is 100% K in RGB?
Black, rgb(0, 0, 0), whatever the other values are, because full black ink covers the paper completely. No amount of cyan, magenta or yellow changes that.
What is rich black in RGB?
A rich black such as C 60% M 40% Y 40% K 100% also converts to rgb(0, 0, 0) with this formula, because K is 100%. On paper it looks deeper than plain black.
Is CMYK to RGB conversion reversible?
Not exactly. Many CMYK combinations produce the same RGB color, and rounding loses a little detail. Converting back gives a valid CMYK but not always the original numbers.
Which color values should I use on a website?
HEX or RGB, which browsers understand natively. CSS has no direct CMYK support in current browsers, so convert print colors before using them. Write them as #2663EB or rgb(38 99 235) in your stylesheet.
Where do I find a color's CMYK values?
In the brand guidelines, the print file's swatches, or design software such as Illustrator, InDesign or Affinity. Pantone spot colors list their CMYK and RGB equivalents in their guides.
Why are my converted colors slightly different from another tool?
Tools round differently and some apply ICC profiles such as US Web Coated or FOGRA39, which shift the result. Differences of one or two RGB units are normal and invisible to most people.