#cc11b0
a dark, electric magenta / pink · warm · closest name: purple
RGB
204, 17, 176
HSL
309°, 85%, 43%
CMYK
0, 92, 14, 20
Luminance
0.1637
Every format
| HEX | #cc11b0 |
| RGB | rgb(204, 17, 176) |
| HSL | hsl(309, 85%, 43%) |
| CMYK | cmyk(0%, 92%, 14%, 20%) |
| LAB | lab(47.5 77.7 -36.7) |
| LCH | lch(47.5 85.9 334.7) |
| OKLCH | oklch(0.581 0.250 336.3) |
Copy-ready code
/* CSS */
color: #cc11b0;
background-color: #cc11b0;
/* Tailwind (arbitrary) */
class="text-[#cc11b0] bg-[#cc11b0]"
/* SCSS */
$brand: #cc11b0;
/* SwiftUI */
Color(red: 0.800, green: 0.067, blue: 0.690)
/* Android */
Color.parseColor("#cc11b0")Accessibility — WCAG contrast
Aa
#cc11b0 on white: 4.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc11b0 on black: 4.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green6.7%
Blue69.0%
CMYK percentages
Cyan0.0%
Magenta91.7%
Yellow13.7%
Key (black)20.0%
Color previews
#cc11b0 text on a black background
contrast 4.27:1
Card sample
#cc11b0 text on a white background
contrast 4.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc11b0;
Background color
Panel with #cc11b0 background
background-color: #cc11b0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc11b0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 17, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 17, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc11b0; background: linear-gradient(135deg, #cc11b0, #CC1133);