#8F1B73#8F1B73
#8F1B73 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 340.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1B73 |
|---|---|
| RGB | rgb(143, 27, 115) |
| HSL | hsl(314, 68%, 33%) |
| HSV | hsv(314, 81%, 56%) |
| CMYK | cmyk(0%, 81.1%, 19.6%, 43.9%) |
| CIE-LAB | lab(33.70, 54.88, -21.91) |
| CIE-LCH | lch(33.70, 59.09, 338.23°) |
| OKLab | oklab(45.16% 0.1641 -0.0592) |
| OKLCH | oklch(45.16% 0.174 340.2) |
| XYZ | xyz(14.8146, 7.8628, 16.9538) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.56
Warm Purple
#952E8F
ΔE00 5.79
Darkish Purple
#751973
ΔE00 5.99
Darkmagenta
#8B008B
ΔE00 6.21
Purple
#800080
ΔE00 6.36
Barney Purple
#A00498
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1B73 #1B8F37
analogous
#711B8F #8F1B73 #8F1B39
triadic
#8F1B73 #738F1B #1B738F
tetradic
#8F1B73 #8F711B #1B8F37 #1B398F
square
#8F1B73 #8F711B #1B8F37 #1B398F
split-complementary
#8F1B73 #398F1B #1B8F71
monochromatic
#280820 #5C114A #8F1B73 #C2259C #DC48B9
Accessibility & contrast
On white
8.16
#8F1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F1B73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1B73
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1B73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1B73 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#4B5670
Tritanopia (blue-blind)
#981F46
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1b73; /* rgb */ color: rgb(143, 27, 115); /* oklch */ color: oklch(45.2% 0.174 340.2);
Tailwind
colors: {
custom: {
50: '#b4669b',
500: '#8f1b73',
950: '#000000',
},
}SCSS
$custom: #8f1b73; $custom-light: #b4669b; $custom-dark: #000000;
JSON
{
"hex": "#8f1b73",
"rgb": {
"r": 143,
"g": 27,
"b": 115
},
"hsl": {
"h": 314.483,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.45162,
"c": 0.17443,
"h": 340.2
},
"luminance": 0.07861
}Semantic roles & 50–950 ramp
primary
#8F1B73
secondary
#48BE64
accent
#EB673D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E