#8D1F5D#8D1F5D
#8D1F5D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.156 H 351.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F5D |
|---|---|
| RGB | rgb(141, 31, 93) |
| HSL | hsl(326, 64%, 34%) |
| HSV | hsv(326, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 34%, 44.7%) |
| CIE-LAB | lab(32.78, 50.32, -9.28) |
| CIE-LCH | lch(32.78, 51.17, 349.55°) |
| OKLab | oklab(44.11% 0.1541 -0.0241) |
| OKLCH | oklch(44.11% 0.156 351.1) |
| XYZ | xyz(13.4511, 7.4346, 11.0805) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.08
Reddish Purple
#910951
ΔE00 3.41
Red Violet
#9E0168
ΔE00 3.69
Dark Fuchsia
#9D0759
ΔE00 3.72
Deep Magenta
#A0025C
ΔE00 3.89
Mulberry
#920A4E
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F5D #1F8D4F
analogous
#861F8D #8D1F5D #8D1F26
triadic
#8D1F5D #5D8D1F #1F5D8D
tetradic
#8D1F5D #8D861F #1F8D4F #1F268D
square
#8D1F5D #8D861F #1F8D4F #1F268D
split-complementary
#8D1F5D #268D1F #1F8D86
monochromatic
#29091B #5B143C #8D1F5D #BF2A7E #D84E9C
Accessibility & contrast
On white
8.45
#8D1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8D1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F5D
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F5D | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#52545B
Tritanopia (blue-blind)
#98163B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8d1f5d; /* rgb */ color: rgb(141, 31, 93); /* oklch */ color: oklch(44.1% 0.156 351.1);
Tailwind
colors: {
custom: {
50: '#b3678b',
500: '#8d1f5d',
950: '#000000',
},
}SCSS
$custom: #8d1f5d; $custom-light: #b3678b; $custom-dark: #000000;
JSON
{
"hex": "#8d1f5d",
"rgb": {
"r": 141,
"g": 31,
"b": 93
},
"hsl": {
"h": 326.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.44113,
"c": 0.15599,
"h": 351.1
},
"luminance": 0.07433
}Semantic roles & 50–950 ramp
primary
#8D1F5D
secondary
#4DBB7D
accent
#E78941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C