#cb01af
a dark, electric magenta / pink · warm · closest name: purple
RGB
203, 1, 175
HSL
308°, 99%, 40%
CMYK
0, 100, 14, 20
Luminance
0.1581
Every format
| HEX | #cb01af |
| RGB | rgb(203, 1, 175) |
| HSL | hsl(308, 99%, 40%) |
| CMYK | cmyk(0%, 100%, 14%, 20%) |
| LAB | lab(46.7 78.8 -37.3) |
| LCH | lch(46.7 87.2 334.7) |
| OKLCH | oklch(0.575 0.254 336.3) |
Copy-ready code
/* CSS */
color: #cb01af;
background-color: #cb01af;
/* Tailwind (arbitrary) */
class="text-[#cb01af] bg-[#cb01af]"
/* SCSS */
$brand: #cb01af;
/* SwiftUI */
Color(red: 0.796, green: 0.004, blue: 0.686)
/* Android */
Color.parseColor("#cb01af")Accessibility — WCAG contrast
Aa
#cb01af on white: 5.04:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cb01af on black: 4.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green0.4%
Blue68.6%
CMYK percentages
Cyan0.0%
Magenta99.5%
Yellow13.8%
Key (black)20.4%
Color previews
#cb01af text on a black background
contrast 4.16:1
Card sample
#cb01af text on a white background
contrast 5.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb01af;
Background color
Panel with #cb01af background
background-color: #cb01af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb01af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 1, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 1, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb01af; background: linear-gradient(135deg, #cb01af, #CB0128);