#8B1972#8B1972
#8B1972 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.173 H 339.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1972 |
|---|---|
| RGB | rgb(139, 25, 114) |
| HSL | hsl(313, 70%, 32%) |
| HSV | hsv(313, 82%, 55%) |
| CMYK | cmyk(0%, 82%, 18%, 45.5%) |
| CIE-LAB | lab(32.70, 54.34, -22.89) |
| CIE-LCH | lch(32.70, 58.97, 337.16°) |
| OKLab | oklab(44.29% 0.1618 -0.062) |
| OKLCH | oklch(44.29% 0.173 339) |
| XYZ | xyz(14.0327, 7.4005, 16.6057) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.22
Purple
#800080
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 5.76
Warm Purple
#952E8F
ΔE00 6.06
Rich Purple
#720058
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1972 #198B32
analogous
#6B198B #8B1972 #8B1939
triadic
#8B1972 #728B19 #19728B
tetradic
#8B1972 #8B6B19 #198B32 #19398B
square
#8B1972 #8B6B19 #198B32 #19398B
split-complementary
#8B1972 #398B19 #198B6B
monochromatic
#23061D #571047 #8B1972 #BF229D #DD41BB
Accessibility & contrast
On white
8.47
#8B1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8B1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1972
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1972 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#931F45
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8b1972; /* rgb */ color: rgb(139, 25, 114); /* oklch */ color: oklch(44.3% 0.173 339.0);
Tailwind
colors: {
custom: {
50: '#b1659b',
500: '#8b1972',
950: '#000000',
},
}SCSS
$custom: #8b1972; $custom-light: #b1659b; $custom-dark: #000000;
JSON
{
"hex": "#8b1972",
"rgb": {
"r": 139,
"g": 25,
"b": 114
},
"hsl": {
"h": 313.158,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.44292,
"c": 0.17327,
"h": 339
},
"luminance": 0.07399
}Semantic roles & 50–950 ramp
primary
#8B1972
secondary
#42BE5D
accent
#EC623B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E