#8F1871#8F1871
#8F1871 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.176 H 341.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1871 |
|---|---|
| RGB | rgb(143, 24, 113) |
| HSL | hsl(315, 71%, 33%) |
| HSV | hsv(315, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 21%, 43.9%) |
| CIE-LAB | lab(33.32, 55.40, -21.23) |
| CIE-LCH | lch(33.32, 59.33, 339.03°) |
| OKLab | oklab(44.86% 0.1663 -0.0573) |
| OKLCH | oklch(44.86% 0.176 341) |
| XYZ | xyz(14.6355, 7.6867, 16.3325) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.26
Darkish Purple
#751973
ΔE00 6.09
Warm Purple
#952E8F
ΔE00 6.25
Darkmagenta
#8B008B
ΔE00 6.45
Purple
#800080
ΔE00 6.49
Rich Purple
#720058
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1871 #188F36
analogous
#71188F #8F1871 #8F1836
triadic
#8F1871 #718F18 #18718F
tetradic
#8F1871 #8F7118 #188F36 #18368F
square
#8F1871 #8F7118 #188F36 #18368F
split-complementary
#8F1871 #368F18 #188F71
monochromatic
#26061E #5B0F48 #8F1871 #C3219A #DF42B8
Accessibility & contrast
On white
8.28
#8F1871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8F1871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1871
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1871 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#981C44
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1871; /* rgb */ color: rgb(143, 24, 113); /* oklch */ color: oklch(44.9% 0.176 341.0);
Tailwind
colors: {
custom: {
50: '#b4659a',
500: '#8f1871',
950: '#000000',
},
}SCSS
$custom: #8f1871; $custom-light: #b4659a; $custom-dark: #000000;
JSON
{
"hex": "#8f1871",
"rgb": {
"r": 143,
"g": 24,
"b": 113
},
"hsl": {
"h": 315.126,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.44862,
"c": 0.17583,
"h": 341
},
"luminance": 0.07685
}Semantic roles & 50–950 ramp
primary
#8F1871
secondary
#43C062
accent
#EE673A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E