#8c0150
a dark, electric magenta / pink · warm · closest name: purple
RGB
140, 1, 80
HSL
326°, 99%, 28%
CMYK
0, 99, 43, 45
Luminance
0.0618
Every format
| HEX | #8c0150 |
| RGB | rgb(140, 1, 80) |
| HSL | hsl(326, 99%, 28%) |
| CMYK | cmyk(0%, 99%, 43%, 45%) |
| LAB | lab(29.9 55.1 -5.2) |
| LCH | lch(29.9 55.3 354.6) |
| OKLCH | oklch(0.418 0.171 355.7) |
Copy-ready code
/* CSS */
color: #8c0150;
background-color: #8c0150;
/* Tailwind (arbitrary) */
class="text-[#8c0150] bg-[#8c0150]"
/* SCSS */
$brand: #8c0150;
/* SwiftUI */
Color(red: 0.549, green: 0.004, blue: 0.314)
/* Android */
Color.parseColor("#8c0150")Accessibility — WCAG contrast
Aa
#8c0150 on white: 9.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#8c0150 on black: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green0.4%
Blue31.4%
CMYK percentages
Cyan0.0%
Magenta99.3%
Yellow42.9%
Key (black)45.1%
Color previews
#8c0150 text on a black background
contrast 2.24:1
Card sample
#8c0150 text on a white background
contrast 9.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c0150;
Background color
Panel with #8c0150 background
background-color: #8c0150;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c0150;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 1, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 1, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c0150; background: linear-gradient(135deg, #8c0150, #8C0F01);