#cc1ccc
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
204, 28, 204
HSL
300°, 76%, 46%
CMYK
0, 86, 0, 20
Luminance
0.1803
Every format
| HEX | #cc1ccc |
| RGB | rgb(204, 28, 204) |
| HSL | hsl(300, 76%, 46%) |
| CMYK | cmyk(0%, 86%, 0%, 20%) |
| LAB | lab(49.5 80.0 -49.8) |
| LCH | lch(49.5 94.2 328.1) |
| OKLCH | oklch(0.600 0.263 328.3) |
Copy-ready code
/* CSS */
color: #cc1ccc;
background-color: #cc1ccc;
/* Tailwind (arbitrary) */
class="text-[#cc1ccc] bg-[#cc1ccc]"
/* SCSS */
$brand: #cc1ccc;
/* SwiftUI */
Color(red: 0.800, green: 0.110, blue: 0.800)
/* Android */
Color.parseColor("#cc1ccc")Accessibility — WCAG contrast
Aa
#cc1ccc on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc1ccc on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green11.0%
Blue80.0%
CMYK percentages
Cyan0.0%
Magenta86.3%
Yellow0.0%
Key (black)20.0%
Color previews
#cc1ccc text on a black background
contrast 4.61:1
Card sample
#cc1ccc text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc1ccc;
Background color
Panel with #cc1ccc background
background-color: #cc1ccc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc1ccc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 28, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 28, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc1ccc; background: linear-gradient(135deg, #cc1ccc, #CC1C57);