#c01abc
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 26, 188
HSL
301°, 76%, 43%
CMYK
0, 87, 2, 25
Luminance
0.1558
Every format
| HEX | #c01abc |
| RGB | rgb(192, 26, 188) |
| HSL | hsl(301, 76%, 43%) |
| CMYK | cmyk(0%, 87%, 2%, 25%) |
| LAB | lab(46.4 75.8 -45.6) |
| LCH | lch(46.4 88.5 329.0) |
| OKLCH | oklch(0.571 0.248 329.4) |
Copy-ready code
/* CSS */
color: #c01abc;
background-color: #c01abc;
/* Tailwind (arbitrary) */
class="text-[#c01abc] bg-[#c01abc]"
/* SCSS */
$brand: #c01abc;
/* SwiftUI */
Color(red: 0.753, green: 0.102, blue: 0.737)
/* Android */
Color.parseColor("#c01abc")Accessibility — WCAG contrast
Aa
#c01abc on white: 5.10:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c01abc on black: 4.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green10.2%
Blue73.7%
CMYK percentages
Cyan0.0%
Magenta86.5%
Yellow2.1%
Key (black)24.7%
Color previews
#c01abc text on a black background
contrast 4.12:1
Card sample
#c01abc text on a white background
contrast 5.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c01abc;
Background color
Panel with #c01abc background
background-color: #c01abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c01abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 26, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 26, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01abc; background: linear-gradient(135deg, #c01abc, #C01A4D);