#8A1E42#8A1E42
#8A1E42 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 6.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E42 |
|---|---|
| RGB | rgb(138, 30, 66) |
| HSL | hsl(340, 64%, 33%) |
| HSV | hsv(340, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 52.2%, 45.9%) |
| CIE-LAB | lab(31.18, 47.00, 5.99) |
| CIE-LCH | lch(31.18, 47.38, 7.26°) |
| OKLab | oklab(42.54% 0.1435 0.0156) |
| OKLCH | oklch(42.54% 0.144 6.2) |
| XYZ | xyz(11.9299, 6.7268, 5.8234) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.37
Berry
#990F4B
ΔE00 3.46
Red Wine
#8C0034
ΔE00 3.90
Wine (survey)
#80013F
ΔE00 4.46
Mulberry
#920A4E
ΔE00 4.49
Cranberry
#9E003A
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E42 #1E8A66
analogous
#8A1E78 #8A1E42 #8A301E
triadic
#8A1E42 #428A1E #1E428A
tetradic
#8A1E42 #788A1E #1E8A66 #301E8A
square
#8A1E42 #788A1E #1E8A66 #301E8A
split-complementary
#8A1E42 #1E8A30 #1E788A
monochromatic
#250812 #58132A #8A1E42 #BC295A #D84B7A
Accessibility & contrast
On white
8.96
#8A1E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E42
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E42 | 1.00 | 8.96 | 2.35 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#97012D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1e42; /* rgb */ color: rgb(138, 30, 66); /* oklch */ color: oklch(42.5% 0.144 6.2);
Tailwind
colors: {
custom: {
50: '#b26576',
500: '#8a1e42',
950: '#000000',
},
}SCSS
$custom: #8a1e42; $custom-light: #b26576; $custom-dark: #000000;
JSON
{
"hex": "#8a1e42",
"rgb": {
"r": 138,
"g": 30,
"b": 66
},
"hsl": {
"h": 340,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.4254,
"c": 0.14434,
"h": 6.2
},
"luminance": 0.06725
}Semantic roles & 50–950 ramp
primary
#8A1E42
secondary
#4ABA95
accent
#E7B041
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B