#8A1A40#8A1A40
#8A1A40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.148 H 6.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A40 |
|---|---|
| RGB | rgb(138, 26, 64) |
| HSL | hsl(340, 68%, 32%) |
| HSV | hsv(340, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 53.6%, 45.9%) |
| CIE-LAB | lab(30.67, 48.09, 6.60) |
| CIE-LCH | lch(30.67, 48.54, 7.81°) |
| OKLab | oklab(42.15% 0.1468 0.0171) |
| OKLCH | oklch(42.15% 0.148 6.6) |
| XYZ | xyz(11.7771, 6.5139, 5.4867) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.30
Red Wine
#8C0034
ΔE00 3.36
Berry
#990F4B
ΔE00 3.57
Wine (survey)
#80013F
ΔE00 4.26
Mulberry
#920A4E
ΔE00 4.61
Cranberry
#9E003A
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A40 #1A8A64
analogous
#8A1A78 #8A1A40 #8A2C1A
triadic
#8A1A40 #408A1A #1A408A
tetradic
#8A1A40 #788A1A #1A8A64 #2C1A8A
square
#8A1A40 #788A1A #1A8A64 #2C1A8A
split-complementary
#8A1A40 #1A8A2C #1A788A
monochromatic
#230710 #571028 #8A1A40 #BD2458 #DC4377
Accessibility & contrast
On white
9.12
#8A1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A40
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A40 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1a40; /* rgb */ color: rgb(138, 26, 64); /* oklch */ color: oklch(42.2% 0.148 6.6);
Tailwind
colors: {
custom: {
50: '#b26374',
500: '#8a1a40',
950: '#000000',
},
}SCSS
$custom: #8a1a40; $custom-light: #b26374; $custom-dark: #000000;
JSON
{
"hex": "#8a1a40",
"rgb": {
"r": 138,
"g": 26,
"b": 64
},
"hsl": {
"h": 339.643,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42151,
"c": 0.14779,
"h": 6.6
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#8A1A40
secondary
#43BD93
accent
#EBB03D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B