#8A1841#8A1841
#8A1841 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.150 H 5.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1841 |
|---|---|
| RGB | rgb(138, 24, 65) |
| HSL | hsl(338, 70%, 32%) |
| HSV | hsv(338, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 52.9%, 45.9%) |
| CIE-LAB | lab(30.50, 48.76, 5.68) |
| CIE-LCH | lch(30.50, 49.09, 6.65°) |
| OKLab | oklab(42.03% 0.1491 0.0148) |
| OKLCH | oklch(42.03% 0.15 5.7) |
| XYZ | xyz(11.7631, 6.4399, 5.6236) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.02
Berry
#990F4B
ΔE00 3.27
Red Wine
#8C0034
ΔE00 3.67
Wine (survey)
#80013F
ΔE00 3.79
Mulberry
#920A4E
ΔE00 4.08
Red Purple
#820747
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1841 #188A61
analogous
#8A187A #8A1841 #8A2818
triadic
#8A1841 #418A18 #18418A
tetradic
#8A1841 #7A8A18 #188A61 #28188A
square
#8A1841 #7A8A18 #188A61 #28188A
split-complementary
#8A1841 #188A28 #187A8A
monochromatic
#220610 #560F28 #8A1841 #BE215A #DE3F78
Accessibility & contrast
On white
9.18
#8A1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1841
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1841 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1841; /* rgb */ color: rgb(138, 24, 65); /* oklch */ color: oklch(42.0% 0.150 5.7);
Tailwind
colors: {
custom: {
50: '#b26375',
500: '#8a1841',
950: '#000000',
},
}SCSS
$custom: #8a1841; $custom-light: #b26375; $custom-dark: #000000;
JSON
{
"hex": "#8a1841",
"rgb": {
"r": 138,
"g": 24,
"b": 65
},
"hsl": {
"h": 338.421,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.4203,
"c": 0.14981,
"h": 5.7
},
"luminance": 0.06438
}Semantic roles & 50–950 ramp
primary
#8A1841
secondary
#40BD90
accent
#EDAD3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B