#8B1F79#8B1F79
#8B1F79 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.172 H 335.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1F79 |
|---|---|
| RGB | rgb(139, 31, 121) |
| HSL | hsl(310, 64%, 33%) |
| HSV | hsv(310, 78%, 55%) |
| CMYK | cmyk(0%, 77.7%, 12.9%, 45.5%) |
| CIE-LAB | lab(33.67, 53.61, -25.79) |
| CIE-LCH | lch(33.67, 59.50, 334.31°) |
| OKLab | oklab(45.1% 0.1572 -0.0704) |
| OKLCH | oklch(45.1% 0.172 335.9) |
| XYZ | xyz(14.5889, 7.8508, 18.8325) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.66
Darkmagenta
#8B008B
ΔE00 4.76
Darkish Purple
#751973
ΔE00 4.78
Purple
#800080
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.89
Red Violet
#9E0168
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1F79 #1F8B31
analogous
#671F8B #8B1F79 #8B1F43
triadic
#8B1F79 #798B1F #1F798B
tetradic
#8B1F79 #8B671F #1F8B31 #1F438B
square
#8B1F79 #8B671F #1F8B31 #1F438B
split-complementary
#8B1F79 #438B1F #1F8B67
monochromatic
#270922 #59144D #8B1F79 #BD2AA5 #D74DC0
Accessibility & contrast
On white
8.17
#8B1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8B1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1F79
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1F79 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#92274A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8b1f79; /* rgb */ color: rgb(139, 31, 121); /* oklch */ color: oklch(45.1% 0.172 335.9);
Tailwind
colors: {
custom: {
50: '#b067a0',
500: '#8b1f79',
950: '#000000',
},
}SCSS
$custom: #8b1f79; $custom-light: #b067a0; $custom-dark: #000000;
JSON
{
"hex": "#8b1f79",
"rgb": {
"r": 139,
"g": 31,
"b": 121
},
"hsl": {
"h": 310,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.45104,
"c": 0.17223,
"h": 335.9
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#8B1F79
secondary
#4CBA5E
accent
#E75D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E