#8B2177#8B2177
#8B2177 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.169 H 336.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2177 |
|---|---|
| RGB | rgb(139, 33, 119) |
| HSL | hsl(311, 62%, 34%) |
| HSV | hsv(311, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 14.4%, 45.5%) |
| CIE-LAB | lab(33.79, 52.66, -24.34) |
| CIE-LCH | lch(33.79, 58.02, 335.19°) |
| OKLab | oklab(45.16% 0.1551 -0.0662) |
| OKLCH | oklch(45.16% 0.169 336.9) |
| XYZ | xyz(14.5214, 7.9099, 18.2112) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.89
Darkish Purple
#751973
ΔE00 5.07
Darkmagenta
#8B008B
ΔE00 5.34
Purple
#800080
ΔE00 5.52
Red Violet
#9E0168
ΔE00 5.95
Barney Purple
#A00498
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2177 #218B35
analogous
#6A218B #8B2177 #8B2142
triadic
#8B2177 #778B21 #21778B
tetradic
#8B2177 #8B6A21 #218B35 #21428B
square
#8B2177 #8B6A21 #218B35 #21428B
split-complementary
#8B2177 #428B21 #218B6A
monochromatic
#280A22 #5A154D #8B2177 #BC2DA1 #D651BD
Accessibility & contrast
On white
8.13
#8B2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8B2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2177
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2177 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#495575
Tritanopia (blue-blind)
#93284A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2177; /* rgb */ color: rgb(139, 33, 119); /* oklch */ color: oklch(45.2% 0.169 336.9);
Tailwind
colors: {
custom: {
50: '#b0689e',
500: '#8b2177',
950: '#000000',
},
}SCSS
$custom: #8b2177; $custom-light: #b0689e; $custom-dark: #000000;
JSON
{
"hex": "#8b2177",
"rgb": {
"r": 139,
"g": 33,
"b": 119
},
"hsl": {
"h": 311.321,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.4516,
"c": 0.16863,
"h": 336.9
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#8B2177
secondary
#4FB963
accent
#E56243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E