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