#8B2173#8B2173
#8B2173 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.166 H 338.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2173 |
|---|---|
| RGB | rgb(139, 33, 115) |
| HSL | hsl(314, 62%, 34%) |
| HSV | hsv(314, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 17.3%, 45.5%) |
| CIE-LAB | lab(33.60, 52.07, -22.13) |
| CIE-LCH | lch(33.60, 56.57, 336.98°) |
| OKLab | oklab(44.95% 0.1546 -0.0599) |
| OKLCH | oklch(44.95% 0.166 338.8) |
| XYZ | xyz(14.2862, 7.8159, 16.9726) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.27
Darkish Purple
#751973
ΔE00 5.49
Warm Purple
#952E8F
ΔE00 5.60
Darkmagenta
#8B008B
ΔE00 6.16
Purple
#800080
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2173 #218B39
analogous
#6E218B #8B2173 #8B213E
triadic
#8B2173 #738B21 #21738B
tetradic
#8B2173 #8B6E21 #218B39 #213E8B
square
#8B2173 #8B6E21 #218B39 #213E8B
split-complementary
#8B2173 #3E8B21 #218B6E
monochromatic
#280A21 #5A154A #8B2173 #BC2D9C #D651B8
Accessibility & contrast
On white
8.19
#8B2173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8B2173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2173
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2173 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274475
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#932647
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2173; /* rgb */ color: rgb(139, 33, 115); /* oklch */ color: oklch(45.0% 0.166 338.8);
Tailwind
colors: {
custom: {
50: '#b0689b',
500: '#8b2173',
950: '#000000',
},
}SCSS
$custom: #8b2173; $custom-light: #b0689b; $custom-dark: #000000;
JSON
{
"hex": "#8b2173",
"rgb": {
"r": 139,
"g": 33,
"b": 115
},
"hsl": {
"h": 313.585,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.44953,
"c": 0.1658,
"h": 338.8
},
"luminance": 0.07814
}Semantic roles & 50–950 ramp
primary
#8B2173
secondary
#4FB967
accent
#E56843
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E