#8A1640#8A1640
#8A1640 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.151 H 6.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1640 |
|---|---|
| RGB | rgb(138, 22, 64) |
| HSL | hsl(338, 73%, 31%) |
| HSV | hsv(338, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 53.6%, 45.9%) |
| CIE-LAB | lab(30.28, 49.22, 6.04) |
| CIE-LCH | lch(30.28, 49.59, 6.99°) |
| OKLab | oklab(41.86% 0.1505 0.0157) |
| OKLCH | oklch(41.86% 0.151 6) |
| XYZ | xyz(11.6946, 6.3489, 5.4592) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.04
Berry
#990F4B
ΔE00 3.37
Red Wine
#8C0034
ΔE00 3.42
Wine (survey)
#80013F
ΔE00 3.75
Mulberry
#920A4E
ΔE00 4.21
Red Purple
#820747
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1640 #168A60
analogous
#8A167A #8A1640 #8A2616
triadic
#8A1640 #408A16 #16408A
tetradic
#8A1640 #7A8A16 #168A60 #26168A
square
#8A1640 #7A8A16 #168A60 #26168A
split-complementary
#8A1640 #168A26 #167A8A
monochromatic
#20050F #550E28 #8A1640 #BF1E58 #E03B76
Accessibility & contrast
On white
9.25
#8A1640 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1640 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1640
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1640 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1640; /* rgb */ color: rgb(138, 22, 64); /* oklch */ color: oklch(41.9% 0.151 6.0);
Tailwind
colors: {
custom: {
50: '#b26274',
500: '#8a1640',
950: '#000000',
},
}SCSS
$custom: #8a1640; $custom-light: #b26274; $custom-dark: #000000;
JSON
{
"hex": "#8a1640",
"rgb": {
"r": 138,
"g": 22,
"b": 64
},
"hsl": {
"h": 338.276,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41859,
"c": 0.15127,
"h": 6
},
"luminance": 0.06347
}Semantic roles & 50–950 ramp
primary
#8A1640
secondary
#3EBE90
accent
#EFAD39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B