#8A1845#8A1845
#8A1845 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.151 H 3.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1845 |
|---|---|
| RGB | rgb(138, 24, 69) |
| HSL | hsl(336, 70%, 32%) |
| HSV | hsv(336, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 50%, 45.9%) |
| CIE-LAB | lab(30.61, 49.10, 3.19) |
| CIE-LCH | lch(30.61, 49.21, 3.72°) |
| OKLab | oklab(42.15% 0.1506 0.0087) |
| OKLCH | oklch(42.15% 0.151 3.3) |
| XYZ | xyz(11.8831, 6.4879, 6.2556) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.82
Purple Red
#990147
ΔE00 2.86
Mulberry
#920A4E
ΔE00 2.92
Wine (survey)
#80013F
ΔE00 3.22
Red Purple
#820747
ΔE00 3.69
Reddish Purple
#910951
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1845 #188A5D
analogous
#8A187E #8A1845 #8A2418
triadic
#8A1845 #458A18 #18458A
tetradic
#8A1845 #7E8A18 #188A5D #24188A
square
#8A1845 #7E8A18 #188A5D #24188A
split-complementary
#8A1845 #188A24 #187E8A
monochromatic
#220611 #560F2B #8A1845 #BE215F #DE3F7D
Accessibility & contrast
On white
9.14
#8A1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1845
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1845 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1845; /* rgb */ color: rgb(138, 24, 69); /* oklch */ color: oklch(42.2% 0.151 3.3);
Tailwind
colors: {
custom: {
50: '#b26378',
500: '#8a1845',
950: '#000000',
},
}SCSS
$custom: #8a1845; $custom-light: #b26378; $custom-dark: #000000;
JSON
{
"hex": "#8a1845",
"rgb": {
"r": 138,
"g": 24,
"b": 69
},
"hsl": {
"h": 336.316,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.42152,
"c": 0.15084,
"h": 3.3
},
"luminance": 0.06486
}Semantic roles & 50–950 ramp
primary
#8A1845
secondary
#40BD8C
accent
#EDA73B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B