#8D1F40#8D1F40
#8D1F40 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.146 H 8.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F40 |
|---|---|
| RGB | rgb(141, 31, 64) |
| HSL | hsl(342, 64%, 34%) |
| HSV | hsv(342, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 54.6%, 44.7%) |
| CIE-LAB | lab(31.84, 47.39, 8.33) |
| CIE-LCH | lch(31.84, 48.12, 9.96°) |
| OKLab | oklab(43.12% 0.1442 0.0213) |
| OKLCH | oklch(43.12% 0.146 8.4) |
| XYZ | xyz(12.4011, 7.0146, 5.5504) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.30
Purple Red
#990147
ΔE00 3.74
Berry
#990F4B
ΔE00 3.95
Cranberry
#9E003A
ΔE00 4.07
Mulberry
#920A4E
ΔE00 5.53
Bordeaux
#7B002C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F40 #1F8D6C
analogous
#8D1F77 #8D1F40 #8D351F
triadic
#8D1F40 #408D1F #1F408D
tetradic
#8D1F40 #778D1F #1F8D6C #351F8D
square
#8D1F40 #778D1F #1F8D6C #351F8D
split-complementary
#8D1F40 #1F8D35 #1F778D
monochromatic
#290912 #5B1429 #8D1F40 #BF2A57 #D84E78
Accessibility & contrast
On white
8.74
#8D1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8D1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F40
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F40 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8d1f40; /* rgb */ color: rgb(141, 31, 64); /* oklch */ color: oklch(43.1% 0.146 8.4);
Tailwind
colors: {
custom: {
50: '#b46674',
500: '#8d1f40',
950: '#000000',
},
}SCSS
$custom: #8d1f40; $custom-light: #b46674; $custom-dark: #000000;
JSON
{
"hex": "#8d1f40",
"rgb": {
"r": 141,
"g": 31,
"b": 64
},
"hsl": {
"h": 342,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.4312,
"c": 0.14576,
"h": 8.4
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#8D1F40
secondary
#4DBB9A
accent
#E7B541
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B