#8F1F71#8F1F71
#8F1F71 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.169 H 341.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1F71 |
|---|---|
| RGB | rgb(143, 31, 113) |
| HSL | hsl(316, 64%, 34%) |
| HSV | hsv(316, 78%, 56%) |
| CMYK | cmyk(0%, 78.3%, 21%, 43.9%) |
| CIE-LAB | lab(34.01, 53.42, -20.16) |
| CIE-LCH | lch(34.01, 57.10, 339.33°) |
| OKLab | oklab(45.36% 0.1602 -0.0543) |
| OKLCH | oklch(45.36% 0.169 341.3) |
| XYZ | xyz(14.7988, 8.0134, 16.3870) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.19
Warm Purple
#952E8F
ΔE00 6.09
Darkish Purple
#751973
ΔE00 6.49
Bruise
#7E4071
ΔE00 6.90
Darkmagenta
#8B008B
ΔE00 6.94
Dark Magenta
#960056
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1F71 #1F8F3D
analogous
#751F8F #8F1F71 #8F1F39
triadic
#8F1F71 #718F1F #1F718F
tetradic
#8F1F71 #8F751F #1F8F3D #1F398F
square
#8F1F71 #8F751F #1F8F3D #1F398F
split-complementary
#8F1F71 #398F1F #1F8F75
monochromatic
#2A0922 #5D1449 #8F1F71 #C12A99 #D94FB4
Accessibility & contrast
On white
8.07
#8F1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8F1F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1F71
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1F71 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#982146
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f1f71; /* rgb */ color: rgb(143, 31, 113); /* oklch */ color: oklch(45.4% 0.169 341.3);
Tailwind
colors: {
custom: {
50: '#b4689a',
500: '#8f1f71',
950: '#000000',
},
}SCSS
$custom: #8f1f71; $custom-light: #b4689a; $custom-dark: #000000;
JSON
{
"hex": "#8f1f71",
"rgb": {
"r": 143,
"g": 31,
"b": 113
},
"hsl": {
"h": 316.071,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.45359,
"c": 0.16916,
"h": 341.3
},
"luminance": 0.08012
}Semantic roles & 50–950 ramp
primary
#8F1F71
secondary
#4EBC6B
accent
#E76D40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E