#8B1845#8B1845
#8B1845 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 3.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1845 |
|---|---|
| RGB | rgb(139, 24, 69) |
| HSL | hsl(337, 71%, 32%) |
| HSV | hsv(337, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 50.4%, 45.5%) |
| CIE-LAB | lab(30.82, 49.38, 3.51) |
| CIE-LCH | lch(30.82, 49.51, 4.07°) |
| OKLab | oklab(42.34% 0.1514 0.0095) |
| OKLCH | oklch(42.34% 0.152 3.6) |
| XYZ | xyz(12.0493, 6.5736, 6.2634) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.65
Purple Red
#990147
ΔE00 2.68
Mulberry
#920A4E
ΔE00 2.96
Wine (survey)
#80013F
ΔE00 3.41
Reddish Purple
#910951
ΔE00 3.86
Red Purple
#820747
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1845 #188B5E
analogous
#8B187F #8B1845 #8B2518
triadic
#8B1845 #458B18 #18458B
tetradic
#8B1845 #7F8B18 #188B5E #25188B
square
#8B1845 #7F8B18 #188B5E #25188B
split-complementary
#8B1845 #188B25 #187F8B
monochromatic
#230611 #570F2B #8B1845 #BF215F #DE3F7D
Accessibility & contrast
On white
9.07
#8B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8B1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1845
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1845 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#545142
Tritanopia (blue-blind)
#98002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b1845; /* rgb */ color: rgb(139, 24, 69); /* oklch */ color: oklch(42.3% 0.152 3.6);
Tailwind
colors: {
custom: {
50: '#b26378',
500: '#8b1845',
950: '#000000',
},
}SCSS
$custom: #8b1845; $custom-light: #b26378; $custom-dark: #000000;
JSON
{
"hex": "#8b1845",
"rgb": {
"r": 139,
"g": 24,
"b": 69
},
"hsl": {
"h": 336.522,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.42338,
"c": 0.1517,
"h": 3.6
},
"luminance": 0.06572
}Semantic roles & 50–950 ramp
primary
#8B1845
secondary
#40BE8D
accent
#EDA73A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B