#8B2171#8B2171
#8B2171 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.164 H 339.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2171 |
|---|---|
| RGB | rgb(139, 33, 113) |
| HSL | hsl(315, 62%, 34%) |
| HSV | hsv(315, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 18.7%, 45.5%) |
| CIE-LAB | lab(33.50, 51.78, -21.01) |
| CIE-LCH | lch(33.50, 55.88, 337.91°) |
| OKLab | oklab(44.85% 0.1543 -0.0568) |
| OKLCH | oklch(44.85% 0.164 339.8) |
| XYZ | xyz(14.1723, 7.7703, 16.3730) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.95
Darkish Purple
#751973
ΔE00 5.75
Warm Purple
#952E8F
ΔE00 5.99
Purple
#800080
ΔE00 6.55
Bruise
#7E4071
ΔE00 6.58
Darkmagenta
#8B008B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2171 #218B3B
analogous
#70218B #8B2171 #8B213C
triadic
#8B2171 #718B21 #21718B
tetradic
#8B2171 #8B7021 #218B3B #213C8B
square
#8B2171 #8B7021 #218B3B #213C8B
split-complementary
#8B2171 #3C8B21 #218B70
monochromatic
#280A21 #5A1549 #8B2171 #BC2D99 #D651B5
Accessibility & contrast
On white
8.22
#8B2171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8B2171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2171
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2171 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#932546
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2171; /* rgb */ color: rgb(139, 33, 113); /* oklch */ color: oklch(44.9% 0.164 339.8);
Tailwind
colors: {
custom: {
50: '#b0689a',
500: '#8b2171',
950: '#000000',
},
}SCSS
$custom: #8b2171; $custom-light: #b0689a; $custom-dark: #000000;
JSON
{
"hex": "#8b2171",
"rgb": {
"r": 139,
"g": 33,
"b": 113
},
"hsl": {
"h": 314.717,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.44852,
"c": 0.16443,
"h": 339.8
},
"luminance": 0.07769
}Semantic roles & 50–950 ramp
primary
#8B2171
secondary
#4FB969
accent
#E56B43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E