#8B1842#8B1842
#8B1842 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 5.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1842 |
|---|---|
| RGB | rgb(139, 24, 66) |
| HSL | hsl(338, 71%, 32%) |
| HSV | hsv(338, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 52.5%, 45.5%) |
| CIE-LAB | lab(30.73, 49.12, 5.38) |
| CIE-LCH | lch(30.73, 49.42, 6.25°) |
| OKLab | oklab(42.25% 0.1503 0.0141) |
| OKLCH | oklch(42.25% 0.151 5.4) |
| XYZ | xyz(11.9586, 6.5373, 5.7853) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.80
Berry
#990F4B
ΔE00 3.00
Wine (survey)
#80013F
ΔE00 3.81
Mulberry
#920A4E
ΔE00 3.85
Red Wine
#8C0034
ΔE00 3.85
Red Purple
#820747
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1842 #188B61
analogous
#8B187C #8B1842 #8B2818
triadic
#8B1842 #428B18 #18428B
tetradic
#8B1842 #7C8B18 #188B61 #28188B
square
#8B1842 #7C8B18 #188B61 #28188B
split-complementary
#8B1842 #188B28 #187C8B
monochromatic
#230610 #570F29 #8B1842 #BF215B #DE3F79
Accessibility & contrast
On white
9.10
#8B1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8B1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1842
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1842 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#55503F
Tritanopia (blue-blind)
#98002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8b1842; /* rgb */ color: rgb(139, 24, 66); /* oklch */ color: oklch(42.2% 0.151 5.4);
Tailwind
colors: {
custom: {
50: '#b36376',
500: '#8b1842',
950: '#000000',
},
}SCSS
$custom: #8b1842; $custom-light: #b36376; $custom-dark: #000000;
JSON
{
"hex": "#8b1842",
"rgb": {
"r": 139,
"g": 24,
"b": 66
},
"hsl": {
"h": 338.087,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.42247,
"c": 0.15092,
"h": 5.4
},
"luminance": 0.06536
}Semantic roles & 50–950 ramp
primary
#8B1842
secondary
#40BE90
accent
#EDAC3A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B