#8B2879#8B2879
#8B2879 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 336.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2879 |
|---|---|
| RGB | rgb(139, 40, 121) |
| HSL | hsl(311, 55%, 35%) |
| HSV | hsv(311, 71%, 55%) |
| CMYK | cmyk(0%, 71.2%, 12.9%, 45.5%) |
| CIE-LAB | lab(34.78, 50.47, -24.06) |
| CIE-LCH | lch(34.78, 55.91, 334.51°) |
| OKLab | oklab(45.91% 0.1478 -0.0655) |
| OKLCH | oklch(45.91% 0.162 336.1) |
| XYZ | xyz(14.8577, 8.3883, 18.9221) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Darkish Purple
#751973
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 5.77
Bruise
#7E4071
ΔE00 6.07
Light Eggplant
#894585
ΔE00 6.13
Purple
#800080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2879 #288B3A
analogous
#6B288B #8B2879 #8B2848
triadic
#8B2879 #798B28 #28798B
tetradic
#8B2879 #8B6B28 #288B3A #28488B
square
#8B2879 #8B6B28 #288B3A #28488B
split-complementary
#8B2879 #488B28 #288B6B
monochromatic
#2C0D26 #5B1A50 #8B2879 #BB36A2 #D05DBB
Accessibility & contrast
On white
7.84
#8B2879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8B2879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2879
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2879 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#922E4D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8b2879; /* rgb */ color: rgb(139, 40, 121); /* oklch */ color: oklch(45.9% 0.162 336.1);
Tailwind
colors: {
custom: {
50: '#b06ba0',
500: '#8b2879',
950: '#000000',
},
}SCSS
$custom: #8b2879; $custom-light: #b06ba0; $custom-dark: #000000;
JSON
{
"hex": "#8b2879",
"rgb": {
"r": 139,
"g": 40,
"b": 121
},
"hsl": {
"h": 310.909,
"s": 55.307,
"l": 35.098
},
"oklch": {
"l": 0.45905,
"c": 0.1617,
"h": 336.1
},
"luminance": 0.08387
}Semantic roles & 50–950 ramp
primary
#8B2879
secondary
#59B66A
accent
#DF6449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E