#8D1F70#8D1F70
#8D1F70 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.167 H 341.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F70 |
|---|---|
| RGB | rgb(141, 31, 112) |
| HSL | hsl(316, 64%, 34%) |
| HSV | hsv(316, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 20.6%, 44.7%) |
| CIE-LAB | lab(33.59, 52.79, -20.20) |
| CIE-LCH | lch(33.59, 56.52, 339.06°) |
| OKLab | oklab(44.97% 0.1581 -0.0544) |
| OKLCH | oklch(44.97% 0.167 341) |
| XYZ | xyz(14.3996, 7.8140, 16.0760) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Darkish Purple
#751973
ΔE00 6.19
Warm Purple
#952E8F
ΔE00 6.24
Bruise
#7E4071
ΔE00 6.83
Darkmagenta
#8B008B
ΔE00 6.89
Purple
#800080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F70 #1F8D3C
analogous
#731F8D #8D1F70 #8D1F39
triadic
#8D1F70 #708D1F #1F708D
tetradic
#8D1F70 #8D731F #1F8D3C #1F398D
square
#8D1F70 #8D731F #1F8D3C #1F398D
split-complementary
#8D1F70 #398D1F #1F8D73
monochromatic
#290920 #5B1448 #8D1F70 #BF2A98 #D84EB4
Accessibility & contrast
On white
8.19
#8D1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8D1F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F70
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F70 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#4C556E
Tritanopia (blue-blind)
#962245
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1f70; /* rgb */ color: rgb(141, 31, 112); /* oklch */ color: oklch(45.0% 0.167 341.0);
Tailwind
colors: {
custom: {
50: '#b26799',
500: '#8d1f70',
950: '#000000',
},
}SCSS
$custom: #8d1f70; $custom-light: #b26799; $custom-dark: #000000;
JSON
{
"hex": "#8d1f70",
"rgb": {
"r": 141,
"g": 31,
"b": 112
},
"hsl": {
"h": 315.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.44972,
"c": 0.16723,
"h": 341
},
"luminance": 0.07813
}Semantic roles & 50–950 ramp
primary
#8D1F70
secondary
#4DBB6A
accent
#E76D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E