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