#c01fbf
a dark, vivid magenta / pink · warm · closest name: purple
RGB
192, 31, 191
HSL
300°, 72%, 44%
CMYK
0, 84, 1, 25
Luminance
0.1595
Every format
| HEX | #c01fbf |
| RGB | rgb(192, 31, 191) |
| HSL | hsl(300, 72%, 44%) |
| CMYK | cmyk(0%, 84%, 1%, 25%) |
| LAB | lab(46.9 75.3 -46.5) |
| LCH | lch(46.9 88.5 328.3) |
| OKLCH | oklch(0.576 0.247 328.5) |
Copy-ready code
/* CSS */
color: #c01fbf;
background-color: #c01fbf;
/* Tailwind (arbitrary) */
class="text-[#c01fbf] bg-[#c01fbf]"
/* SCSS */
$brand: #c01fbf;
/* SwiftUI */
Color(red: 0.753, green: 0.122, blue: 0.749)
/* Android */
Color.parseColor("#c01fbf")Accessibility — WCAG contrast
Aa
#c01fbf on white: 5.01:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c01fbf on black: 4.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green12.2%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta83.9%
Yellow0.5%
Key (black)24.7%
Color previews
#c01fbf text on a black background
contrast 4.19:1
Card sample
#c01fbf text on a white background
contrast 5.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c01fbf;
Background color
Panel with #c01fbf background
background-color: #c01fbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c01fbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 31, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 31, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01fbf; background: linear-gradient(135deg, #c01fbf, #C01F54);