#c0185f
a dark, electric magenta / pink · warm · closest name: crimson
RGB
192, 24, 95
HSL
335°, 78%, 42%
CMYK
0, 88, 51, 25
Luminance
0.1269
Every format
| HEX | #c0185f |
| RGB | rgb(192, 24, 95) |
| HSL | hsl(335, 78%, 42%) |
| CMYK | cmyk(0%, 88%, 51%, 25%) |
| LAB | lab(42.3 65.3 4.6) |
| LCH | lch(42.3 65.5 4.0) |
| OKLCH | oklch(0.529 0.201 3.5) |
Copy-ready code
/* CSS */
color: #c0185f;
background-color: #c0185f;
/* Tailwind (arbitrary) */
class="text-[#c0185f] bg-[#c0185f]"
/* SCSS */
$brand: #c0185f;
/* SwiftUI */
Color(red: 0.753, green: 0.094, blue: 0.373)
/* Android */
Color.parseColor("#c0185f")Accessibility — WCAG contrast
Aa
#c0185f on white: 5.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0185f on black: 3.54:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green9.4%
Blue37.3%
CMYK percentages
Cyan0.0%
Magenta87.5%
Yellow50.5%
Key (black)24.7%
Color previews
#c0185f text on a black background
contrast 3.54:1
Card sample
#c0185f text on a white background
contrast 5.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0185f;
Background color
Panel with #c0185f background
background-color: #c0185f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0185f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 24, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 24, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0185f; background: linear-gradient(135deg, #c0185f, #C04118);