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