#8B2873#8B2873
#8B2873 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.157 H 339.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2873 |
|---|---|
| RGB | rgb(139, 40, 115) |
| HSL | hsl(315, 55%, 35%) |
| HSV | hsv(315, 71%, 55%) |
| CMYK | cmyk(0%, 71.2%, 17.3%, 45.5%) |
| CIE-LAB | lab(34.49, 49.55, -20.74) |
| CIE-LCH | lch(34.49, 53.71, 337.29°) |
| OKLab | oklab(45.6% 0.147 -0.056) |
| OKLCH | oklch(45.6% 0.157 339.1) |
| XYZ | xyz(14.5011, 8.2457, 17.0442) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.36
Warm Purple
#952E8F
ΔE00 5.50
Bruise
#7E4071
ΔE00 5.68
Darkish Purple
#751973
ΔE00 6.19
Light Eggplant
#894585
ΔE00 6.56
Darkmagenta
#8B008B
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2873 #288B40
analogous
#71288B #8B2873 #8B2842
triadic
#8B2873 #738B28 #28738B
tetradic
#8B2873 #8B7128 #288B40 #28428B
square
#8B2873 #8B7128 #288B40 #28428B
split-complementary
#8B2873 #428B28 #288B71
monochromatic
#2C0D24 #5B1A4C #8B2873 #BB369A #D05DB4
Accessibility & contrast
On white
7.93
#8B2873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8B2873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2873
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2873 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#932C4A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b2873; /* rgb */ color: rgb(139, 40, 115); /* oklch */ color: oklch(45.6% 0.157 339.1);
Tailwind
colors: {
custom: {
50: '#b06b9b',
500: '#8b2873',
950: '#000000',
},
}SCSS
$custom: #8b2873; $custom-light: #b06b9b; $custom-dark: #000000;
JSON
{
"hex": "#8b2873",
"rgb": {
"r": 139,
"g": 40,
"b": 115
},
"hsl": {
"h": 314.545,
"s": 55.307,
"l": 35.098
},
"oklch": {
"l": 0.456,
"c": 0.15731,
"h": 339.1
},
"luminance": 0.08244
}Semantic roles & 50–950 ramp
primary
#8B2873
secondary
#59B670
accent
#DF6D49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E