#8D1F6D#8D1F6D
#8D1F6D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.165 H 342.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F6D |
|---|---|
| RGB | rgb(141, 31, 109) |
| HSL | hsl(317, 64%, 34%) |
| HSV | hsv(317, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 22.7%, 44.7%) |
| CIE-LAB | lab(33.45, 52.37, -18.51) |
| CIE-LCH | lch(33.45, 55.55, 340.53°) |
| OKLab | oklab(44.83% 0.1576 -0.0497) |
| OKLCH | oklch(44.83% 0.165 342.5) |
| XYZ | xyz(14.2353, 7.7483, 15.2109) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.96
Dark Magenta
#960056
ΔE00 6.39
Deep Magenta
#A0025C
ΔE00 6.62
Darkish Purple
#751973
ΔE00 6.65
Velvet
#750851
ΔE00 6.65
Rich Purple
#720058
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F6D #1F8D3F
analogous
#761F8D #8D1F6D #8D1F36
triadic
#8D1F6D #6D8D1F #1F6D8D
tetradic
#8D1F6D #8D761F #1F8D3F #1F368D
square
#8D1F6D #8D761F #1F8D3F #1F368D
split-complementary
#8D1F6D #368D1F #1F8D76
monochromatic
#29091F #5B1446 #8D1F6D #BF2A94 #D84EB0
Accessibility & contrast
On white
8.24
#8D1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8D1F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F6D
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F6D | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#962044
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1f6d; /* rgb */ color: rgb(141, 31, 109); /* oklch */ color: oklch(44.8% 0.165 342.5);
Tailwind
colors: {
custom: {
50: '#b26797',
500: '#8d1f6d',
950: '#000000',
},
}SCSS
$custom: #8d1f6d; $custom-light: #b26797; $custom-dark: #000000;
JSON
{
"hex": "#8d1f6d",
"rgb": {
"r": 141,
"g": 31,
"b": 109
},
"hsl": {
"h": 317.455,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.44826,
"c": 0.16528,
"h": 342.5
},
"luminance": 0.07747
}Semantic roles & 50–950 ramp
primary
#8D1F6D
secondary
#4DBB6D
accent
#E77141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E