#8B2176#8B2176
#8B2176 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.168 H 337.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2176 |
|---|---|
| RGB | rgb(139, 33, 118) |
| HSL | hsl(312, 62%, 34%) |
| HSV | hsv(312, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 15.1%, 45.5%) |
| CIE-LAB | lab(33.74, 52.51, -23.79) |
| CIE-LCH | lch(33.74, 57.65, 335.63°) |
| OKLab | oklab(45.11% 0.155 -0.0647) |
| OKLCH | oklch(45.11% 0.168 337.3) |
| XYZ | xyz(14.4616, 7.8860, 17.8966) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.16
Darkmagenta
#8B008B
ΔE00 5.54
Purple
#800080
ΔE00 5.68
Red Violet
#9E0168
ΔE00 5.78
Barney Purple
#A00498
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2176 #218B36
analogous
#6B218B #8B2176 #8B2141
triadic
#8B2176 #768B21 #21768B
tetradic
#8B2176 #8B6B21 #218B36 #21418B
square
#8B2176 #8B6B21 #218B36 #21418B
split-complementary
#8B2176 #418B21 #218B6B
monochromatic
#280A22 #5A154C #8B2176 #BC2DA0 #D651BB
Accessibility & contrast
On white
8.15
#8B2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8B2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2176
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2176 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254578
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#932749
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2176; /* rgb */ color: rgb(139, 33, 118); /* oklch */ color: oklch(45.1% 0.168 337.3);
Tailwind
colors: {
custom: {
50: '#b0689e',
500: '#8b2176',
950: '#000000',
},
}SCSS
$custom: #8b2176; $custom-light: #b0689e; $custom-dark: #000000;
JSON
{
"hex": "#8b2176",
"rgb": {
"r": 139,
"g": 33,
"b": 118
},
"hsl": {
"h": 311.887,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.45108,
"c": 0.16792,
"h": 337.3
},
"luminance": 0.07885
}Semantic roles & 50–950 ramp
primary
#8B2176
secondary
#4FB964
accent
#E56343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E