#c01ec1
a dark, vivid magenta / pink · warm · closest name: purple
RGB
192, 30, 193
HSL
300°, 73%, 44%
CMYK
1, 85, 0, 24
Luminance
0.1599
Every format
| HEX | #c01ec1 |
| RGB | rgb(192, 30, 193) |
| HSL | hsl(300, 73%, 44%) |
| CMYK | cmyk(1%, 85%, 0%, 24%) |
| LAB | lab(47.0 75.8 -47.6) |
| LCH | lch(47.0 89.6 327.9) |
| OKLCH | oklch(0.576 0.249 327.9) |
Copy-ready code
/* CSS */
color: #c01ec1;
background-color: #c01ec1;
/* Tailwind (arbitrary) */
class="text-[#c01ec1] bg-[#c01ec1]"
/* SCSS */
$brand: #c01ec1;
/* SwiftUI */
Color(red: 0.753, green: 0.118, blue: 0.757)
/* Android */
Color.parseColor("#c01ec1")Accessibility — WCAG contrast
Aa
#c01ec1 on white: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c01ec1 on black: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green11.8%
Blue75.7%
CMYK percentages
Cyan0.5%
Magenta84.5%
Yellow0.0%
Key (black)24.3%
Color previews
#c01ec1 text on a black background
contrast 4.20:1
Card sample
#c01ec1 text on a white background
contrast 5.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c01ec1;
Background color
Panel with #c01ec1 background
background-color: #c01ec1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c01ec1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 30, 193, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 30, 193, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01ec1; background: linear-gradient(135deg, #c01ec1, #C11E55);