#8F1F7A#8F1F7A
#8F1F7A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.175 H 337.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F7A |
|---|---|
| RGB | rgb(143, 31, 122) |
| HSL | hsl(311, 64%, 34%) |
| HSV | hsv(311, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 14.7%, 43.9%) |
| CIE-LAB | lab(34.45, 54.72, -25.15) |
| CIE-LCH | lch(34.45, 60.22, 335.32°) |
| OKLab | oklab(45.82% 0.1613 -0.0685) |
| OKLCH | oklch(45.82% 0.175 337) |
| XYZ | xyz(15.3308, 8.2262, 19.1890) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.39
Darkmagenta
#8B008B
ΔE00 5.11
Darkish Purple
#751973
ΔE00 5.59
Purple
#800080
ΔE00 5.62
Barney Purple
#A00498
ΔE00 5.63
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F7A #1F8F34
analogous
#6C1F8F #8F1F7A #8F1F42
triadic
#8F1F7A #7A8F1F #1F7A8F
tetradic
#8F1F7A #8F6C1F #1F8F34 #1F428F
square
#8F1F7A #8F6C1F #1F8F34 #1F428F
split-complementary
#8F1F7A #428F1F #1F8F6C
monochromatic
#2A0924 #5D144F #8F1F7A #C12AA5 #D94FBF
Accessibility & contrast
On white
7.94
#8F1F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F1F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F7A
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F7A | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#97274B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f1f7a; /* rgb */ color: rgb(143, 31, 122); /* oklch */ color: oklch(45.8% 0.175 337.0);
Tailwind
colors: {
custom: {
50: '#b368a0',
500: '#8f1f7a',
950: '#000000',
},
}SCSS
$custom: #8f1f7a; $custom-light: #b368a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1f7a",
"rgb": {
"r": 143,
"g": 31,
"b": 122
},
"hsl": {
"h": 311.25,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45818,
"c": 0.17525,
"h": 337
},
"luminance": 0.08225
}Semantic roles & 50–950 ramp
primary
#8F1F7A
secondary
#4EBC63
accent
#E76040
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E