#8B2971#8B2971
#8B2971 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 340.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2971 |
|---|---|
| RGB | rgb(139, 41, 113) |
| HSL | hsl(316, 54%, 35%) |
| HSV | hsv(316, 71%, 55%) |
| CMYK | cmyk(0%, 70.5%, 18.7%, 45.5%) |
| CIE-LAB | lab(34.54, 48.85, -19.40) |
| CIE-LCH | lch(34.54, 52.57, 338.34°) |
| OKLab | oklab(45.6% 0.1455 -0.0523) |
| OKLCH | oklch(45.6% 0.155 340.2) |
| XYZ | xyz(14.4214, 8.2685, 16.4560) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.11
Bruise
#7E4071
ΔE00 5.48
Warm Purple
#952E8F
ΔE00 5.94
Darkish Purple
#751973
ΔE00 6.58
Light Eggplant
#894585
ΔE00 6.65
Grape
#6C3461
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2971 #298B43
analogous
#74298B #8B2971 #8B2940
triadic
#8B2971 #718B29 #29718B
tetradic
#8B2971 #8B7429 #298B43 #29408B
square
#8B2971 #8B7429 #298B43 #29408B
split-complementary
#8B2971 #408B29 #298B74
monochromatic
#2C0D24 #5C1B4B #8B2971 #BA3797 #D05FB2
Accessibility & contrast
On white
7.91
#8B2971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8B2971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2971
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2971 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#932C49
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2971; /* rgb */ color: rgb(139, 41, 113); /* oklch */ color: oklch(45.6% 0.155 340.2);
Tailwind
colors: {
custom: {
50: '#b06b9a',
500: '#8b2971',
950: '#000000',
},
}SCSS
$custom: #8b2971; $custom-light: #b06b9a; $custom-dark: #000000;
JSON
{
"hex": "#8b2971",
"rgb": {
"r": 139,
"g": 41,
"b": 113
},
"hsl": {
"h": 315.918,
"s": 54.444,
"l": 35.294
},
"oklch": {
"l": 0.45604,
"c": 0.15459,
"h": 340.2
},
"luminance": 0.08267
}Semantic roles & 50–950 ramp
primary
#8B2971
secondary
#5BB573
accent
#DE714A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E