#8A1842#8A1842
#8A1842 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.150 H 5.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1842 |
|---|---|
| RGB | rgb(138, 24, 66) |
| HSL | hsl(338, 70%, 32%) |
| HSV | hsv(338, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.52, 48.84, 5.06) |
| CIE-LCH | lch(30.52, 49.10, 5.91°) |
| OKLab | oklab(42.06% 0.1495 0.0133) |
| OKLCH | oklch(42.06% 0.15 5.1) |
| XYZ | xyz(11.7923, 6.4516, 5.7775) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.93
Berry
#990F4B
ΔE00 3.11
Wine (survey)
#80013F
ΔE00 3.61
Mulberry
#920A4E
ΔE00 3.78
Red Wine
#8C0034
ΔE00 3.96
Red Purple
#820747
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1842 #188A60
analogous
#8A187B #8A1842 #8A2718
triadic
#8A1842 #428A18 #18428A
tetradic
#8A1842 #7B8A18 #188A60 #27188A
square
#8A1842 #7B8A18 #188A60 #27188A
split-complementary
#8A1842 #188A27 #187B8A
monochromatic
#220610 #560F29 #8A1842 #BE215B #DE3F79
Accessibility & contrast
On white
9.17
#8A1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1842
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1842 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1842; /* rgb */ color: rgb(138, 24, 66); /* oklch */ color: oklch(42.1% 0.150 5.1);
Tailwind
colors: {
custom: {
50: '#b26376',
500: '#8a1842',
950: '#000000',
},
}SCSS
$custom: #8a1842; $custom-light: #b26376; $custom-dark: #000000;
JSON
{
"hex": "#8a1842",
"rgb": {
"r": 138,
"g": 24,
"b": 66
},
"hsl": {
"h": 337.895,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.4206,
"c": 0.15004,
"h": 5.1
},
"luminance": 0.0645
}Semantic roles & 50–950 ramp
primary
#8A1842
secondary
#40BD8F
accent
#EDAB3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B