#c01fa9
a dark, vivid magenta / pink · warm · closest name: purple
RGB
192, 31, 169
HSL
309°, 72%, 44%
CMYK
0, 84, 12, 25
Luminance
0.1505
Every format
| HEX | #c01fa9 |
| RGB | rgb(192, 31, 169) |
| HSL | hsl(309, 72%, 44%) |
| CMYK | cmyk(0%, 84%, 12%, 25%) |
| LAB | lab(45.7 72.1 -35.5) |
| LCH | lch(45.7 80.4 333.8) |
| OKLCH | oklch(0.563 0.233 335.3) |
Copy-ready code
/* CSS */
color: #c01fa9;
background-color: #c01fa9;
/* Tailwind (arbitrary) */
class="text-[#c01fa9] bg-[#c01fa9]"
/* SCSS */
$brand: #c01fa9;
/* SwiftUI */
Color(red: 0.753, green: 0.122, blue: 0.663)
/* Android */
Color.parseColor("#c01fa9")Accessibility — WCAG contrast
Aa
#c01fa9 on white: 5.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c01fa9 on black: 4.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green12.2%
Blue66.3%
CMYK percentages
Cyan0.0%
Magenta83.9%
Yellow12.0%
Key (black)24.7%
Color previews
#c01fa9 text on a black background
contrast 4.01:1
Card sample
#c01fa9 text on a white background
contrast 5.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c01fa9;
Background color
Panel with #c01fa9 background
background-color: #c01fa9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c01fa9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 31, 169, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 31, 169, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01fa9; background: linear-gradient(135deg, #c01fa9, #C01F3E);