#8B2170#8B2170
#8B2170 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.164 H 340.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2170 |
|---|---|
| RGB | rgb(139, 33, 112) |
| HSL | hsl(315, 62%, 34%) |
| HSV | hsv(315, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 19.4%, 45.5%) |
| CIE-LAB | lab(33.45, 51.63, -20.45) |
| CIE-LCH | lch(33.45, 55.53, 338.39°) |
| OKLab | oklab(44.8% 0.1542 -0.0552) |
| OKLCH | oklch(44.8% 0.164 340.3) |
| XYZ | xyz(14.1164, 7.7479, 16.0782) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Darkish Purple
#751973
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.56
Purple
#800080
ΔE00 6.74
Rich Purple
#720058
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2170 #218B3C
analogous
#71218B #8B2170 #8B213B
triadic
#8B2170 #708B21 #21708B
tetradic
#8B2170 #8B7121 #218B3C #213B8B
square
#8B2170 #8B7121 #218B3C #213B8B
split-complementary
#8B2170 #3B8B21 #218B71
monochromatic
#280A20 #5A1548 #8B2170 #BC2D98 #D651B4
Accessibility & contrast
On white
8.24
#8B2170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8B2170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2170
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2170 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#942446
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2170; /* rgb */ color: rgb(139, 33, 112); /* oklch */ color: oklch(44.8% 0.164 340.3);
Tailwind
colors: {
custom: {
50: '#b06899',
500: '#8b2170',
950: '#000000',
},
}SCSS
$custom: #8b2170; $custom-light: #b06899; $custom-dark: #000000;
JSON
{
"hex": "#8b2170",
"rgb": {
"r": 139,
"g": 33,
"b": 112
},
"hsl": {
"h": 315.283,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.44802,
"c": 0.16375,
"h": 340.3
},
"luminance": 0.07747
}Semantic roles & 50–950 ramp
primary
#8B2170
secondary
#4FB96A
accent
#E56C43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E