#8B2172#8B2172
#8B2172 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.165 H 339.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2172 |
|---|---|
| RGB | rgb(139, 33, 114) |
| HSL | hsl(314, 62%, 34%) |
| HSV | hsv(314, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 18%, 45.5%) |
| CIE-LAB | lab(33.55, 51.92, -21.57) |
| CIE-LCH | lch(33.55, 56.22, 337.44°) |
| OKLab | oklab(44.9% 0.1545 -0.0583) |
| OKLCH | oklch(44.9% 0.165 339.3) |
| XYZ | xyz(14.2289, 7.7930, 16.6712) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.11
Darkish Purple
#751973
ΔE00 5.62
Warm Purple
#952E8F
ΔE00 5.79
Purple
#800080
ΔE00 6.37
Darkmagenta
#8B008B
ΔE00 6.38
Bruise
#7E4071
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2172 #218B3A
analogous
#6F218B #8B2172 #8B213D
triadic
#8B2172 #728B21 #21728B
tetradic
#8B2172 #8B6F21 #218B3A #213D8B
square
#8B2172 #8B6F21 #218B3A #213D8B
split-complementary
#8B2172 #3D8B21 #218B6F
monochromatic
#280A21 #5A1549 #8B2172 #BC2D9B #D651B6
Accessibility & contrast
On white
8.21
#8B2172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8B2172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2172
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2172 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#932547
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b2172; /* rgb */ color: rgb(139, 33, 114); /* oklch */ color: oklch(44.9% 0.165 339.3);
Tailwind
colors: {
custom: {
50: '#b0689a',
500: '#8b2172',
950: '#000000',
},
}SCSS
$custom: #8b2172; $custom-light: #b0689a; $custom-dark: #000000;
JSON
{
"hex": "#8b2172",
"rgb": {
"r": 139,
"g": 33,
"b": 114
},
"hsl": {
"h": 314.151,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.44902,
"c": 0.16511,
"h": 339.3
},
"luminance": 0.07792
}Semantic roles & 50–950 ramp
primary
#8B2172
secondary
#4FB968
accent
#E56943
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E