#8F2371#8F2371
#8F2371 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.165 H 341.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2371 |
|---|---|
| RGB | rgb(143, 35, 113) |
| HSL | hsl(317, 61%, 35%) |
| HSV | hsv(317, 76%, 56%) |
| CMYK | cmyk(0%, 75.5%, 21%, 43.9%) |
| CIE-LAB | lab(34.47, 52.12, -19.45) |
| CIE-LCH | lch(34.47, 55.63, 339.54°) |
| OKLab | oklab(45.69% 0.1562 -0.0523) |
| OKLCH | oklch(45.69% 0.165 341.5) |
| XYZ | xyz(14.9098, 8.2355, 16.4240) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.23
Warm Purple
#952E8F
ΔE00 6.04
Bruise
#7E4071
ΔE00 6.45
Darkish Purple
#751973
ΔE00 6.81
Deep Magenta
#A0025C
ΔE00 6.98
Dark Magenta
#960056
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2371 #238F41
analogous
#77238F #8F2371 #8F233B
triadic
#8F2371 #718F23 #23718F
tetradic
#8F2371 #8F7723 #238F41 #233B8F
square
#8F2371 #8F7723 #238F41 #233B8F
split-complementary
#8F2371 #3B8F23 #238F77
monochromatic
#2D0B23 #5E174A #8F2371 #C02F98 #D657B2
Accessibility & contrast
On white
7.93
#8F2371 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8F2371 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2371
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2371 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2371 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4F576F
Tritanopia (blue-blind)
#982547
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2371; /* rgb */ color: rgb(143, 35, 113); /* oklch */ color: oklch(45.7% 0.165 341.5);
Tailwind
colors: {
custom: {
50: '#b3699a',
500: '#8f2371',
950: '#000000',
},
}SCSS
$custom: #8f2371; $custom-light: #b3699a; $custom-dark: #000000;
JSON
{
"hex": "#8f2371",
"rgb": {
"r": 143,
"g": 35,
"b": 113
},
"hsl": {
"h": 316.667,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.4569,
"c": 0.16475,
"h": 341.5
},
"luminance": 0.08234
}Semantic roles & 50–950 ramp
primary
#8F2371
secondary
#54BA70
accent
#E47044
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E