#c0147b
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 20, 123
HSL
324°, 81%, 42%
CMYK
0, 90, 36, 25
Luminance
0.1314
Every format
| HEX | #c0147b |
| RGB | rgb(192, 20, 123) |
| HSL | hsl(324, 81%, 42%) |
| CMYK | cmyk(0%, 90%, 36%, 25%) |
| LAB | lab(43.0 68.6 -11.9) |
| LCH | lch(43.0 69.6 350.2) |
| OKLCH | oklch(0.537 0.213 351.7) |
Copy-ready code
/* CSS */
color: #c0147b;
background-color: #c0147b;
/* Tailwind (arbitrary) */
class="text-[#c0147b] bg-[#c0147b]"
/* SCSS */
$brand: #c0147b;
/* SwiftUI */
Color(red: 0.753, green: 0.078, blue: 0.482)
/* Android */
Color.parseColor("#c0147b")Accessibility — WCAG contrast
Aa
#c0147b on white: 5.79:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0147b on black: 3.63:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green7.8%
Blue48.2%
CMYK percentages
Cyan0.0%
Magenta89.6%
Yellow35.9%
Key (black)24.7%
Color previews
#c0147b text on a black background
contrast 3.63:1
Card sample
#c0147b text on a white background
contrast 5.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0147b;
Background color
Panel with #c0147b background
background-color: #c0147b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0147b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 20, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 20, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0147b; background: linear-gradient(135deg, #c0147b, #C02014);