#8B1474#8B1474
#8B1474 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.1% C 0.179 H 338.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1474 |
|---|---|
| RGB | rgb(139, 20, 116) |
| HSL | hsl(312, 75%, 31%) |
| HSV | hsv(312, 86%, 55%) |
| CMYK | cmyk(0%, 85.6%, 16.5%, 45.5%) |
| CIE-LAB | lab(32.37, 55.87, -24.67) |
| CIE-LCH | lch(32.37, 61.08, 336.18°) |
| OKLab | oklab(44.09% 0.1657 -0.0671) |
| OKLCH | oklch(44.09% 0.179 338) |
| XYZ | xyz(14.0504, 7.2516, 17.1794) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.68
Purple
#800080
ΔE00 4.91
Darkmagenta
#8B008B
ΔE00 5.07
Red Violet
#9E0168
ΔE00 5.69
Warm Purple
#952E8F
ΔE00 5.95
Rich Purple
#720058
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1474 #148B2B
analogous
#66148B #8B1474 #8B1438
triadic
#8B1474 #748B14 #14748B
tetradic
#8B1474 #8B6614 #148B2B #14388B
square
#8B1474 #8B6614 #148B2B #14388B
split-complementary
#8B1474 #388B14 #148B66
monochromatic
#20051B #550C47 #8B1474 #C11CA1 #E237C1
Accessibility & contrast
On white
8.57
#8B1474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8B1474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1474
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1474 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#931D45
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8b1474; /* rgb */ color: rgb(139, 20, 116); /* oklch */ color: oklch(44.1% 0.179 338.0);
Tailwind
colors: {
custom: {
50: '#b1639c',
500: '#8b1474',
950: '#000000',
},
}SCSS
$custom: #8b1474; $custom-light: #b1639c; $custom-dark: #000000;
JSON
{
"hex": "#8b1474",
"rgb": {
"r": 139,
"g": 20,
"b": 116
},
"hsl": {
"h": 311.597,
"s": 74.843,
"l": 31.176
},
"oklch": {
"l": 0.44089,
"c": 0.1788,
"h": 338
},
"luminance": 0.0725
}Semantic roles & 50–950 ramp
primary
#8B1474
secondary
#3CBF55
accent
#F15B36
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E