Color Code Converter
Paste any color — HEX, RGB, HSL, CMYK or a color name — and get every format instantly, plus tints, shades, matching colors and a readability check.
All formats
Tints & shades — click to use and copy
Color harmonies
Text contrast (WCAG)
4.5:1 passes AA for normal text. 3:1 passes for large text only.
Color code formats at a glance
| Format | Example | Used for |
|---|---|---|
| HEX | #003FFC | Websites, Figma, Canva, brand guidelines |
| RGB | rgb(0, 63, 252) | Screens, CSS, video and social media graphics |
| HSL | hsl(225, 100%, 49%) | Creating lighter and darker versions in CSS |
| HSV / HSB | hsv(225, 100%, 99%) | Color pickers in Photoshop and design apps |
| CMYK | cmyk(100%, 75%, 0%, 1%) | Printing — business cards, flyers, packaging |
Quick conversions
Common lookups, ready to copy:
| Color | HEX | RGB | CMYK |
|---|---|---|---|
| White | #FFFFFF | rgb(255, 255, 255) | 0, 0, 0, 0 |
| Black | #000000 | rgb(0, 0, 0) | 0, 0, 0, 100 |
| Red | #FF0000 | rgb(255, 0, 0) | 0, 100, 100, 0 |
| Navy | #000080 | rgb(0, 0, 128) | 100, 100, 0, 50 |
| Royal blue | #4169E1 | rgb(65, 105, 225) | 71, 53, 0, 12 |
| Gold | #FFD700 | rgb(255, 215, 0) | 0, 16, 100, 0 |
| Teal | #008080 | rgb(0, 128, 128) | 100, 0, 0, 50 |
| Coral | #FF7F50 | rgb(255, 127, 80) | 0, 50, 69, 0 |
| Crimson | #DC143C | rgb(220, 20, 60) | 0, 91, 73, 14 |
| BrandKev blue | #003FFC | rgb(0, 63, 252) | 100, 75, 0, 1 |
Frequently asked questions
How do I convert HEX to RGB?
Paste the HEX code (for example #003FFC) into the box and the RGB value appears instantly — here rgb(0, 63, 252). Manually, split the six digits into three pairs and convert each pair from base 16 to a number from 0 to 255.
What color formats can I enter?
HEX (#003FFC or 03F), RGB like rgb(0, 63, 252) or just 0, 63, 252, HSL like hsl(225, 100%, 49%), CMYK like cmyk(100, 75, 0, 1), and any of the 148 CSS color names such as coral or navy.
What's the difference between HEX, RGB and HSL?
They describe the same screen color in different ways. HEX is a compact code used in web and design tools. RGB gives the red, green and blue light values (0–255). HSL describes hue, saturation and lightness, which makes it easy to create lighter or darker versions of a color.
Is the CMYK conversion print-accurate?
It's a standard mathematical conversion and a good starting point. Real print results depend on the paper, ink and your printer's color profile, so always ask your printer for a proof. See the CMYK & Pantone guide for tips.
What does the contrast check mean?
It shows the WCAG contrast ratio of white and black text on your color. 4.5:1 or higher passes AA for normal text; 3:1 passes only for large text (about 24px+). Higher is easier to read.
What are tints and shades?
Tints are lighter versions of a color (mixed toward white) and shades are darker versions (mixed toward black). The row of nine swatches keeps your hue and saturation and steps the lightness from 90% down to 10% — handy for hover states, backgrounds and borders.
Keep building your brand
Color Palette Generator
Generate beautiful 3–8 color palettes in one click. Lock colors you love, pick a harmony, export to CSS, Tailwind or PNG.
Open tool TOOL_03Color Codes Library
All 148 named web colors with HEX and RGB codes, grouped by color. Search, copy and convert in a click.
Open tool TOOL_04Font Pairing Tool
Hand-picked Google Font pairings for logos, websites and decks — including Arabic + English pairs for the UAE.
Open tool TOOL_05HEX to CMYK & Pantone Guide
Turn screen colors into print-ready CMYK values and learn how to find the right Pantone match for your brand.
Open toolWant a brand that looks this good everywhere?
BrandKev is a Dubai studio for digital marketing and brand creative. Book a free 20-minute call and we'll tell you honestly where we can help.