#8A1837#8A1837
#8A1837 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.148 H 11.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1837 |
|---|---|
| RGB | rgb(138, 24, 55) |
| HSL | hsl(344, 70%, 32%) |
| HSV | hsv(344, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 60.1%, 45.9%) |
| CIE-LAB | lab(30.24, 47.98, 11.98) |
| CIE-LCH | lch(30.24, 49.45, 14.02°) |
| OKLab | oklab(41.76% 0.1451 0.0298) |
| OKLCH | oklch(41.76% 0.148 11.6) |
| XYZ | xyz(11.4986, 6.3341, 4.2308) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.84
Cranberry
#9E003A
ΔE00 3.70
Bordeaux
#7B002C
ΔE00 4.00
Wine Red
#7B0323
ΔE00 5.22
Purple Red
#990147
ΔE00 5.32
Berry
#990F4B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1837 #188A6B
analogous
#8A1870 #8A1837 #8A3218
triadic
#8A1837 #378A18 #18378A
tetradic
#8A1837 #708A18 #188A6B #32188A
square
#8A1837 #708A18 #188A6B #32188A
split-complementary
#8A1837 #188A32 #18708A
monochromatic
#22060D #560F22 #8A1837 #BE214C #DE3F6A
Accessibility & contrast
On white
9.27
#8A1837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1837
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1837 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393837
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#970026
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1837; /* rgb */ color: rgb(138, 24, 55); /* oklch */ color: oklch(41.8% 0.148 11.6);
Tailwind
colors: {
custom: {
50: '#b3626d',
500: '#8a1837',
950: '#000000',
},
}SCSS
$custom: #8a1837; $custom-light: #b3626d; $custom-dark: #000000;
JSON
{
"hex": "#8a1837",
"rgb": {
"r": 138,
"g": 24,
"b": 55
},
"hsl": {
"h": 343.684,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.41758,
"c": 0.14809,
"h": 11.6
},
"luminance": 0.06332
}Semantic roles & 50–950 ramp
primary
#8A1837
secondary
#40BD9B
accent
#EDBD3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A