#8B1847#8B1847
#8B1847 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 2.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1847 |
|---|---|
| RGB | rgb(139, 24, 71) |
| HSL | hsl(335, 71%, 32%) |
| HSV | hsv(335, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 48.9%, 45.5%) |
| CIE-LAB | lab(30.88, 49.56, 2.27) |
| CIE-LCH | lch(30.88, 49.62, 2.62°) |
| OKLab | oklab(42.4% 0.1521 0.0064) |
| OKLCH | oklch(42.4% 0.152 2.4) |
| XYZ | xyz(12.1125, 6.5988, 6.5959) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.43
Berry
#990F4B
ΔE00 2.61
Purple Red
#990147
ΔE00 2.79
Reddish Purple
#910951
ΔE00 3.27
Wine (survey)
#80013F
ΔE00 3.28
Red Purple
#820747
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1847 #188B5C
analogous
#8B1881 #8B1847 #8B2218
triadic
#8B1847 #478B18 #18478B
tetradic
#8B1847 #818B18 #188B5C #22188B
square
#8B1847 #818B18 #188B5C #22188B
split-complementary
#8B1847 #188B22 #18818B
monochromatic
#230612 #570F2C #8B1847 #BF2162 #DE3F80
Accessibility & contrast
On white
9.05
#8B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8B1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1847
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1847 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b1847; /* rgb */ color: rgb(139, 24, 71); /* oklch */ color: oklch(42.4% 0.152 2.4);
Tailwind
colors: {
custom: {
50: '#b2637a',
500: '#8b1847',
950: '#000000',
},
}SCSS
$custom: #8b1847; $custom-light: #b2637a; $custom-dark: #000000;
JSON
{
"hex": "#8b1847",
"rgb": {
"r": 139,
"g": 24,
"b": 71
},
"hsl": {
"h": 335.478,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.42402,
"c": 0.15227,
"h": 2.4
},
"luminance": 0.06597
}Semantic roles & 50–950 ramp
primary
#8B1847
secondary
#40BE8B
accent
#EDA43A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B