#c01eb1
a dark, vivid magenta / pink · warm · closest name: purple
RGB
192, 30, 177
HSL
306°, 73%, 44%
CMYK
0, 84, 8, 25
Luminance
0.1531
Every format
| HEX | #c01eb1 |
| RGB | rgb(192, 30, 177) |
| HSL | hsl(306, 73%, 44%) |
| CMYK | cmyk(0%, 84%, 8%, 25%) |
| LAB | lab(46.1 73.5 -39.7) |
| LCH | lch(46.1 83.5 331.6) |
| OKLCH | oklch(0.567 0.238 332.7) |
Copy-ready code
/* CSS */
color: #c01eb1;
background-color: #c01eb1;
/* Tailwind (arbitrary) */
class="text-[#c01eb1] bg-[#c01eb1]"
/* SCSS */
$brand: #c01eb1;
/* SwiftUI */
Color(red: 0.753, green: 0.118, blue: 0.694)
/* Android */
Color.parseColor("#c01eb1")Accessibility — WCAG contrast
Aa
#c01eb1 on white: 5.17:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c01eb1 on black: 4.06:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green11.8%
Blue69.4%
CMYK percentages
Cyan0.0%
Magenta84.4%
Yellow7.8%
Key (black)24.7%
Color previews
#c01eb1 text on a black background
contrast 4.06:1
Card sample
#c01eb1 text on a white background
contrast 5.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c01eb1;
Background color
Panel with #c01eb1 background
background-color: #c01eb1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c01eb1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 30, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 30, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01eb1; background: linear-gradient(135deg, #c01eb1, #C01E45);