#8D3871#8D3871
#8D3871 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.134 H 342.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8D3871 |
|---|---|
| RGB | rgb(141, 56, 113) |
| HSL | hsl(320, 43%, 39%) |
| HSV | hsv(320, 60%, 55%) |
| CMYK | cmyk(0%, 60.3%, 19.9%, 44.7%) |
| CIE-LAB | lab(37.27, 42.85, -15.17) |
| CIE-LCH | lch(37.27, 45.45, 340.51°) |
| OKLab | oklab(47.68% 0.1277 -0.0405) |
| OKLCH | oklch(47.68% 0.134 342.4) |
| XYZ | xyz(15.3797, 9.6847, 16.6789) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.74
Light Eggplant
#894585
ΔE00 5.39
Red Violet
#9E0168
ΔE00 6.37
Grape
#6C3461
ΔE00 7.00
Warm Purple
#952E8F
ΔE00 7.08
Deep Magenta
#A0025C
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D3871 #388D54
analogous
#7E388D #8D3871 #8D3846
triadic
#8D3871 #718D38 #38718D
tetradic
#8D3871 #8D7E38 #388D54 #38468D
square
#8D3871 #8D7E38 #388D54 #38468D
split-complementary
#8D3871 #468D38 #388D7E
monochromatic
#35152B #61274E #8D3871 #B74B94 #C977AE
Accessibility & contrast
On white
7.15
#8D3871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#8D3871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D3871
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D3871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D3871 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#95394F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8d3871; /* rgb */ color: rgb(141, 56, 113); /* oklch */ color: oklch(47.7% 0.134 342.4);
Tailwind
colors: {
custom: {
50: '#b1739a',
500: '#8d3871',
950: '#000000',
},
}SCSS
$custom: #8d3871; $custom-light: #b1739a; $custom-dark: #000000;
JSON
{
"hex": "#8d3871",
"rgb": {
"r": 141,
"g": 56,
"b": 113
},
"hsl": {
"h": 319.765,
"s": 43.147,
"l": 38.627
},
"oklch": {
"l": 0.47675,
"c": 0.13401,
"h": 342.4
},
"luminance": 0.09683
}Semantic roles & 50–950 ramp
primary
#8D3871
secondary
#6FB285
accent
#D37E55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E