#cc20df
a balanced, vivid magenta / pink · warm · closest name: magenta
RGB
204, 32, 223
HSL
294°, 75%, 50%
CMYK
9, 86, 0, 13
Luminance
0.1920
Every format
| HEX | #cc20df |
| RGB | rgb(204, 32, 223) |
| HSL | hsl(294, 75%, 50%) |
| CMYK | cmyk(9%, 86%, 0%, 13%) |
| LAB | lab(50.9 82.3 -58.4) |
| LCH | lch(50.9 100.9 324.6) |
| OKLCH | oklch(0.614 0.274 323.3) |
Copy-ready code
/* CSS */
color: #cc20df;
background-color: #cc20df;
/* Tailwind (arbitrary) */
class="text-[#cc20df] bg-[#cc20df]"
/* SCSS */
$brand: #cc20df;
/* SwiftUI */
Color(red: 0.800, green: 0.125, blue: 0.875)
/* Android */
Color.parseColor("#cc20df")Accessibility — WCAG contrast
Aa
#cc20df on white: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc20df on black: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green12.5%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta85.7%
Yellow0.0%
Key (black)12.5%
Color previews
#cc20df text on a black background
contrast 4.84:1
Card sample
#cc20df text on a white background
contrast 4.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc20df;
Background color
Panel with #cc20df background
background-color: #cc20df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc20df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 32, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 32, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc20df; background: linear-gradient(135deg, #cc20df, #DF2073);