#8D1F47#8D1F47
#8D1F47 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 4.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F47 |
|---|---|
| RGB | rgb(141, 31, 71) |
| HSL | hsl(338, 64%, 34%) |
| HSV | hsv(338, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 49.6%, 44.7%) |
| CIE-LAB | lab(32.03, 48.00, 3.99) |
| CIE-LCH | lch(32.03, 48.16, 4.75°) |
| OKLab | oklab(43.32% 0.1469 0.0107) |
| OKLCH | oklch(43.32% 0.147 4.2) |
| XYZ | xyz(12.6129, 7.0993, 6.6662) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.52
Purple Red
#990147
ΔE00 2.79
Mulberry
#920A4E
ΔE00 3.42
Reddish Purple
#910951
ΔE00 4.32
Wine (survey)
#80013F
ΔE00 4.46
Red Purple
#820747
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F47 #1F8D65
analogous
#8D1F7E #8D1F47 #8D2E1F
triadic
#8D1F47 #478D1F #1F478D
tetradic
#8D1F47 #7E8D1F #1F8D65 #2E1F8D
square
#8D1F47 #7E8D1F #1F8D65 #2E1F8D
split-complementary
#8D1F47 #1F8D2E #1F7E8D
monochromatic
#290914 #5B142E #8D1F47 #BF2A60 #D84E80
Accessibility & contrast
On white
8.68
#8D1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8D1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F47
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F47 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9A0430
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8d1f47; /* rgb */ color: rgb(141, 31, 71); /* oklch */ color: oklch(43.3% 0.147 4.2);
Tailwind
colors: {
custom: {
50: '#b4667a',
500: '#8d1f47',
950: '#000000',
},
}SCSS
$custom: #8d1f47; $custom-light: #b4667a; $custom-dark: #000000;
JSON
{
"hex": "#8d1f47",
"rgb": {
"r": 141,
"g": 31,
"b": 71
},
"hsl": {
"h": 338.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.43324,
"c": 0.14732,
"h": 4.2
},
"luminance": 0.07098
}Semantic roles & 50–950 ramp
primary
#8D1F47
secondary
#4DBB93
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B