#8F1872#8F1872
#8F1872 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.176 H 340.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1872 |
|---|---|
| RGB | rgb(143, 24, 114) |
| HSL | hsl(315, 71%, 33%) |
| HSV | hsv(315, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 20.3%, 43.9%) |
| CIE-LAB | lab(33.37, 55.54, -21.79) |
| CIE-LCH | lch(33.37, 59.66, 338.58°) |
| OKLab | oklab(44.91% 0.1664 -0.0588) |
| OKLCH | oklch(44.91% 0.176 340.5) |
| XYZ | xyz(14.6921, 7.7094, 16.6306) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.44
Darkish Purple
#751973
ΔE00 5.96
Warm Purple
#952E8F
ΔE00 6.06
Darkmagenta
#8B008B
ΔE00 6.23
Purple
#800080
ΔE00 6.31
Rich Purple
#720058
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1872 #188F35
analogous
#70188F #8F1872 #8F1836
triadic
#8F1872 #728F18 #18728F
tetradic
#8F1872 #8F7018 #188F35 #18368F
square
#8F1872 #8F7018 #188F35 #18368F
split-complementary
#8F1872 #368F18 #188F70
monochromatic
#26061E #5B0F48 #8F1872 #C3219C #DF42B9
Accessibility & contrast
On white
8.26
#8F1872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8F1872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1872
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1872 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981C45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1872; /* rgb */ color: rgb(143, 24, 114); /* oklch */ color: oklch(44.9% 0.176 340.5);
Tailwind
colors: {
custom: {
50: '#b4659a',
500: '#8f1872',
950: '#000000',
},
}SCSS
$custom: #8f1872; $custom-light: #b4659a; $custom-dark: #000000;
JSON
{
"hex": "#8f1872",
"rgb": {
"r": 143,
"g": 24,
"b": 114
},
"hsl": {
"h": 314.622,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.44912,
"c": 0.17648,
"h": 340.5
},
"luminance": 0.07708
}Semantic roles & 50–950 ramp
primary
#8F1872
secondary
#43C061
accent
#EE663A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E