#c0177e
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 23, 126
HSL
323°, 79%, 42%
CMYK
0, 88, 34, 25
Luminance
0.1333
Every format
| HEX | #c0177e |
| RGB | rgb(192, 23, 126) |
| HSL | hsl(323, 79%, 42%) |
| CMYK | cmyk(0%, 88%, 34%, 25%) |
| LAB | lab(43.3 68.4 -13.3) |
| LCH | lch(43.3 69.7 349.0) |
| OKLCH | oklch(0.539 0.213 350.7) |
Copy-ready code
/* CSS */
color: #c0177e;
background-color: #c0177e;
/* Tailwind (arbitrary) */
class="text-[#c0177e] bg-[#c0177e]"
/* SCSS */
$brand: #c0177e;
/* SwiftUI */
Color(red: 0.753, green: 0.090, blue: 0.494)
/* Android */
Color.parseColor("#c0177e")Accessibility — WCAG contrast
Aa
#c0177e on white: 5.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0177e on black: 3.67:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green9.0%
Blue49.4%
CMYK percentages
Cyan0.0%
Magenta88.0%
Yellow34.4%
Key (black)24.7%
Color previews
#c0177e text on a black background
contrast 3.67:1
Card sample
#c0177e text on a white background
contrast 5.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0177e;
Background color
Panel with #c0177e background
background-color: #c0177e;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0177e;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 23, 126, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 23, 126, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0177e; background: linear-gradient(135deg, #c0177e, #C02117);