#8D1F4D#8D1F4D
#8D1F4D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.149 H 0.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F4D |
|---|---|
| RGB | rgb(141, 31, 77) |
| HSL | hsl(335, 64%, 34%) |
| HSV | hsv(335, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 45.4%, 44.7%) |
| CIE-LAB | lab(32.21, 48.57, 0.31) |
| CIE-LCH | lch(32.21, 48.57, 0.37°) |
| OKLab | oklab(43.52% 0.1491 0.0014) |
| OKLCH | oklch(43.52% 0.149 0.5) |
| XYZ | xyz(12.8151, 7.1802, 7.7308) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.13
Berry
#990F4B
ΔE00 2.67
Reddish Purple
#910951
ΔE00 2.74
Purple Red
#990147
ΔE00 3.34
Red Purple
#820747
ΔE00 3.82
Dark Magenta
#960056
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F4D #1F8D5F
analogous
#8D1F84 #8D1F4D #8D281F
triadic
#8D1F4D #4D8D1F #1F4D8D
tetradic
#8D1F4D #848D1F #1F8D5F #281F8D
square
#8D1F4D #848D1F #1F8D5F #281F8D
split-complementary
#8D1F4D #1F8D28 #1F848D
monochromatic
#290916 #5B1432 #8D1F4D #BF2A68 #D84E88
Accessibility & contrast
On white
8.62
#8D1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8D1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F4D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F4D | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#990933
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8d1f4d; /* rgb */ color: rgb(141, 31, 77); /* oklch */ color: oklch(43.5% 0.149 0.5);
Tailwind
colors: {
custom: {
50: '#b3667e',
500: '#8d1f4d',
950: '#000000',
},
}SCSS
$custom: #8d1f4d; $custom-light: #b3667e; $custom-dark: #000000;
JSON
{
"hex": "#8d1f4d",
"rgb": {
"r": 141,
"g": 31,
"b": 77
},
"hsl": {
"h": 334.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43517,
"c": 0.14913,
"h": 0.5
},
"luminance": 0.07179
}Semantic roles & 50–950 ramp
primary
#8D1F4D
secondary
#4DBB8D
accent
#E7A141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C