#8A1E40#8A1E40
#8A1E40 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 7.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E40 |
|---|---|
| RGB | rgb(138, 30, 64) |
| HSL | hsl(341, 64%, 33%) |
| HSV | hsv(341, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 53.6%, 45.9%) |
| CIE-LAB | lab(31.12, 46.82, 7.23) |
| CIE-LCH | lch(31.12, 47.38, 8.78°) |
| OKLab | oklab(42.48% 0.1427 0.0186) |
| OKLCH | oklch(42.48% 0.144 7.4) |
| XYZ | xyz(11.8720, 6.7036, 5.5183) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.41
Purple Red
#990147
ΔE00 3.69
Berry
#990F4B
ΔE00 3.89
Cranberry
#9E003A
ΔE00 4.71
Wine (survey)
#80013F
ΔE00 4.86
Mulberry
#920A4E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E40 #1E8A68
analogous
#8A1E76 #8A1E40 #8A321E
triadic
#8A1E40 #408A1E #1E408A
tetradic
#8A1E40 #768A1E #1E8A68 #321E8A
square
#8A1E40 #768A1E #1E8A68 #321E8A
split-complementary
#8A1E40 #1E8A32 #1E768A
monochromatic
#250811 #581329 #8A1E40 #BC2957 #D84B77
Accessibility & contrast
On white
8.97
#8A1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A1E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E40
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E40 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3B41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1e40; /* rgb */ color: rgb(138, 30, 64); /* oklch */ color: oklch(42.5% 0.144 7.4);
Tailwind
colors: {
custom: {
50: '#b26574',
500: '#8a1e40',
950: '#000000',
},
}SCSS
$custom: #8a1e40; $custom-light: #b26574; $custom-dark: #000000;
JSON
{
"hex": "#8a1e40",
"rgb": {
"r": 138,
"g": 30,
"b": 64
},
"hsl": {
"h": 341.111,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42482,
"c": 0.14392,
"h": 7.4
},
"luminance": 0.06702
}Semantic roles & 50–950 ramp
primary
#8A1E40
secondary
#4ABA97
accent
#E7B341
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B