#8D1F42#8D1F42
#8D1F42 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.146 H 7.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F42 |
|---|---|
| RGB | rgb(141, 31, 66) |
| HSL | hsl(341, 64%, 34%) |
| HSV | hsv(341, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 53.2%, 44.7%) |
| CIE-LAB | lab(31.89, 47.56, 7.08) |
| CIE-LCH | lch(31.89, 48.08, 8.47°) |
| OKLab | oklab(43.18% 0.145 0.0183) |
| OKLCH | oklch(43.18% 0.146 7.2) |
| XYZ | xyz(12.4590, 7.0378, 5.8556) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.32
Berry
#990F4B
ΔE00 3.43
Red Wine
#8C0034
ΔE00 3.71
Cranberry
#9E003A
ΔE00 4.47
Mulberry
#920A4E
ΔE00 4.89
Wine (survey)
#80013F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F42 #1F8D6A
analogous
#8D1F79 #8D1F42 #8D331F
triadic
#8D1F42 #428D1F #1F428D
tetradic
#8D1F42 #798D1F #1F8D6A #331F8D
square
#8D1F42 #798D1F #1F8D6A #331F8D
split-complementary
#8D1F42 #1F8D33 #1F798D
monochromatic
#290913 #5B142B #8D1F42 #BF2A59 #D84E7A
Accessibility & contrast
On white
8.72
#8D1F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8D1F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F42
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F42 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3D43
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8d1f42; /* rgb */ color: rgb(141, 31, 66); /* oklch */ color: oklch(43.2% 0.146 7.2);
Tailwind
colors: {
custom: {
50: '#b46676',
500: '#8d1f42',
950: '#000000',
},
}SCSS
$custom: #8d1f42; $custom-light: #b46676; $custom-dark: #000000;
JSON
{
"hex": "#8d1f42",
"rgb": {
"r": 141,
"g": 31,
"b": 66
},
"hsl": {
"h": 340.909,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43176,
"c": 0.14615,
"h": 7.2
},
"luminance": 0.07036
}Semantic roles & 50–950 ramp
primary
#8D1F42
secondary
#4DBB98
accent
#E7B241
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B