#8F1870#8F1870
#8F1870 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 341.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1870 |
|---|---|
| RGB | rgb(143, 24, 112) |
| HSL | hsl(316, 71%, 33%) |
| HSV | hsv(316, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 21.7%, 43.9%) |
| CIE-LAB | lab(33.27, 55.27, -20.67) |
| CIE-LCH | lch(33.27, 59.00, 339.50°) |
| OKLab | oklab(44.81% 0.1661 -0.0557) |
| OKLCH | oklch(44.81% 0.175 341.5) |
| XYZ | xyz(14.5795, 7.6643, 16.0376) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.09
Darkish Purple
#751973
ΔE00 6.22
Warm Purple
#952E8F
ΔE00 6.44
Darkmagenta
#8B008B
ΔE00 6.67
Purple
#800080
ΔE00 6.68
Rich Purple
#720058
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1870 #188F37
analogous
#72188F #8F1870 #8F1835
triadic
#8F1870 #708F18 #18708F
tetradic
#8F1870 #8F7218 #188F37 #18358F
square
#8F1870 #8F7218 #188F37 #18358F
split-complementary
#8F1870 #358F18 #188F72
monochromatic
#26061E #5B0F47 #8F1870 #C32199 #DF42B6
Accessibility & contrast
On white
8.29
#8F1870 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8F1870 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1870
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1870 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#981B43
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1870; /* rgb */ color: rgb(143, 24, 112); /* oklch */ color: oklch(44.8% 0.175 341.5);
Tailwind
colors: {
custom: {
50: '#b46599',
500: '#8f1870',
950: '#000000',
},
}SCSS
$custom: #8f1870; $custom-light: #b46599; $custom-dark: #000000;
JSON
{
"hex": "#8f1870",
"rgb": {
"r": 143,
"g": 24,
"b": 112
},
"hsl": {
"h": 315.63,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.44812,
"c": 0.1752,
"h": 341.5
},
"luminance": 0.07663
}Semantic roles & 50–950 ramp
primary
#8F1870
secondary
#43C063
accent
#EE693A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E