#c0177b
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 23, 123
HSL
325°, 79%, 42%
CMYK
0, 88, 36, 25
Luminance
0.1325
Every format
| HEX | #c0177b |
| RGB | rgb(192, 23, 123) |
| HSL | hsl(325, 79%, 42%) |
| CMYK | cmyk(0%, 88%, 36%, 25%) |
| LAB | lab(43.1 68.1 -11.6) |
| LCH | lch(43.1 69.0 350.3) |
| OKLCH | oklch(0.538 0.212 351.8) |
Copy-ready code
/* CSS */
color: #c0177b;
background-color: #c0177b;
/* Tailwind (arbitrary) */
class="text-[#c0177b] bg-[#c0177b]"
/* SCSS */
$brand: #c0177b;
/* SwiftUI */
Color(red: 0.753, green: 0.090, blue: 0.482)
/* Android */
Color.parseColor("#c0177b")Accessibility — WCAG contrast
Aa
#c0177b on white: 5.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0177b on black: 3.65:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green9.0%
Blue48.2%
CMYK percentages
Cyan0.0%
Magenta88.0%
Yellow35.9%
Key (black)24.7%
Color previews
#c0177b text on a black background
contrast 3.65:1
Card sample
#c0177b text on a white background
contrast 5.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0177b;
Background color
Panel with #c0177b background
background-color: #c0177b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0177b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 23, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 23, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0177b; background: linear-gradient(135deg, #c0177b, #C02417);