#8B1876#8B1876
#8B1876 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.177 H 337.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1876 |
|---|---|
| RGB | rgb(139, 24, 118) |
| HSL | hsl(311, 71%, 32%) |
| HSV | hsv(311, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 15.1%, 45.5%) |
| CIE-LAB | lab(32.81, 55.18, -25.25) |
| CIE-LCH | lch(32.81, 60.68, 335.42°) |
| OKLab | oklab(44.44% 0.163 -0.0688) |
| OKLCH | oklch(44.44% 0.177 337.1) |
| XYZ | xyz(14.2444, 7.4516, 17.8242) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.63
Purple
#800080
ΔE00 4.83
Darkmagenta
#8B008B
ΔE00 4.85
Warm Purple
#952E8F
ΔE00 5.47
Red Violet
#9E0168
ΔE00 5.93
Barney Purple
#A00498
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1876 #188B2D
analogous
#67188B #8B1876 #8B183C
triadic
#8B1876 #768B18 #18768B
tetradic
#8B1876 #8B6718 #188B2D #183C8B
square
#8B1876 #8B6718 #188B2D #183C8B
split-complementary
#8B1876 #3C8B18 #188B67
monochromatic
#23061D #570F4A #8B1876 #BF21A2 #DE3FC1
Accessibility & contrast
On white
8.43
#8B1876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8B1876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1876
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1876 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#932147
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8b1876; /* rgb */ color: rgb(139, 24, 118); /* oklch */ color: oklch(44.4% 0.177 337.1);
Tailwind
colors: {
custom: {
50: '#b1659e',
500: '#8b1876',
950: '#000000',
},
}SCSS
$custom: #8b1876; $custom-light: #b1659e; $custom-dark: #000000;
JSON
{
"hex": "#8b1876",
"rgb": {
"r": 139,
"g": 24,
"b": 118
},
"hsl": {
"h": 310.957,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.44439,
"c": 0.17688,
"h": 337.1
},
"luminance": 0.0745
}Semantic roles & 50–950 ramp
primary
#8B1876
secondary
#40BE57
accent
#ED5B3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E