#8F1F78#8F1F78
#8F1F78 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 337.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F78 |
|---|---|
| RGB | rgb(143, 31, 120) |
| HSL | hsl(312, 64%, 34%) |
| HSV | hsv(312, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 16.1%, 43.9%) |
| CIE-LAB | lab(34.35, 54.42, -24.05) |
| CIE-LCH | lch(34.35, 59.50, 336.16°) |
| OKLab | oklab(45.71% 0.1611 -0.0653) |
| OKLCH | oklch(45.71% 0.174 337.9) |
| XYZ | xyz(15.2082, 8.1771, 18.5431) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.74
Red Violet
#9E0168
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 5.50
Darkish Purple
#751973
ΔE00 5.73
Purple
#800080
ΔE00 5.90
Barney Purple
#A00498
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F78 #1F8F36
analogous
#6E1F8F #8F1F78 #8F1F40
triadic
#8F1F78 #788F1F #1F788F
tetradic
#8F1F78 #8F6E1F #1F8F36 #1F408F
square
#8F1F78 #8F6E1F #1F8F36 #1F408F
split-complementary
#8F1F78 #408F1F #1F8F6E
monochromatic
#2A0924 #5D144E #8F1F78 #C12AA2 #D94FBD
Accessibility & contrast
On white
7.97
#8F1F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F1F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F78
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F78 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#97264A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f1f78; /* rgb */ color: rgb(143, 31, 120); /* oklch */ color: oklch(45.7% 0.174 337.9);
Tailwind
colors: {
custom: {
50: '#b3689f',
500: '#8f1f78',
950: '#000000',
},
}SCSS
$custom: #8f1f78; $custom-light: #b3689f; $custom-dark: #000000;
JSON
{
"hex": "#8f1f78",
"rgb": {
"r": 143,
"g": 31,
"b": 120
},
"hsl": {
"h": 312.321,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45713,
"c": 0.17386,
"h": 337.9
},
"luminance": 0.08176
}Semantic roles & 50–950 ramp
primary
#8F1F78
secondary
#4EBC64
accent
#E76340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E