#8D1847#8D1847
#8D1847 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 3.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1847 |
|---|---|
| RGB | rgb(141, 24, 71) |
| HSL | hsl(336, 71%, 32%) |
| HSV | hsv(336, 83%, 55%) |
| CMYK | cmyk(0%, 83%, 49.6%, 44.7%) |
| CIE-LAB | lab(31.28, 50.12, 2.91) |
| CIE-LCH | lch(31.28, 50.20, 3.33°) |
| OKLab | oklab(42.77% 0.1538 0.008) |
| OKLCH | oklch(42.77% 0.154 3) |
| XYZ | xyz(12.4496, 6.7727, 6.6117) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.23
Purple Red
#990147
ΔE00 2.41
Mulberry
#920A4E
ΔE00 2.52
Reddish Purple
#910951
ΔE00 3.45
Wine (survey)
#80013F
ΔE00 3.65
Red Purple
#820747
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1847 #188D5E
analogous
#8D1882 #8D1847 #8D2318
triadic
#8D1847 #478D18 #18478D
tetradic
#8D1847 #828D18 #188D5E #23188D
square
#8D1847 #828D18 #188D5E #23188D
split-complementary
#8D1847 #188D23 #18828D
monochromatic
#240612 #590F2D #8D1847 #C12161 #DF4180
Accessibility & contrast
On white
8.92
#8D1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8D1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1847
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1847 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8d1847; /* rgb */ color: rgb(141, 24, 71); /* oklch */ color: oklch(42.8% 0.154 3.0);
Tailwind
colors: {
custom: {
50: '#b4637a',
500: '#8d1847',
950: '#000000',
},
}SCSS
$custom: #8d1847; $custom-light: #b4637a; $custom-dark: #000000;
JSON
{
"hex": "#8d1847",
"rgb": {
"r": 141,
"g": 24,
"b": 71
},
"hsl": {
"h": 335.897,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.42774,
"c": 0.15397,
"h": 3
},
"luminance": 0.06771
}Semantic roles & 50–950 ramp
primary
#8D1847
secondary
#42BF8D
accent
#EEA63A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B