#8A1642#8A1642
#8A1642 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.152 H 4.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1642 |
|---|---|
| RGB | rgb(138, 22, 66) |
| HSL | hsl(337, 73%, 31%) |
| HSV | hsv(337, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.33, 49.39, 4.79) |
| CIE-LCH | lch(30.33, 49.62, 5.54°) |
| OKLab | oklab(41.92% 0.1512 0.0126) |
| OKLCH | oklch(41.92% 0.152 4.8) |
| XYZ | xyz(11.7526, 6.3721, 5.7643) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.85
Berry
#990F4B
ΔE00 3.05
Wine (survey)
#80013F
ΔE00 3.37
Mulberry
#920A4E
ΔE00 3.60
Red Wine
#8C0034
ΔE00 4.02
Red Purple
#820747
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1642 #168A5E
analogous
#8A167C #8A1642 #8A2416
triadic
#8A1642 #428A16 #16428A
tetradic
#8A1642 #7C8A16 #168A5E #24168A
square
#8A1642 #7C8A16 #168A5E #24168A
split-complementary
#8A1642 #168A24 #167C8A
monochromatic
#200510 #550E29 #8A1642 #BF1E5B #E03B79
Accessibility & contrast
On white
9.23
#8A1642 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1642 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1642
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1642 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#544F3F
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1642; /* rgb */ color: rgb(138, 22, 66); /* oklch */ color: oklch(41.9% 0.152 4.8);
Tailwind
colors: {
custom: {
50: '#b26276',
500: '#8a1642',
950: '#000000',
},
}SCSS
$custom: #8a1642; $custom-light: #b26276; $custom-dark: #000000;
JSON
{
"hex": "#8a1642",
"rgb": {
"r": 138,
"g": 22,
"b": 66
},
"hsl": {
"h": 337.241,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41919,
"c": 0.15175,
"h": 4.8
},
"luminance": 0.0637
}Semantic roles & 50–950 ramp
primary
#8A1642
secondary
#3EBE8D
accent
#EFAA39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B