#8A1E47#8A1E47
#8A1E47 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 3.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E47 |
|---|---|
| RGB | rgb(138, 30, 71) |
| HSL | hsl(337, 64%, 33%) |
| HSV | hsv(337, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 48.6%, 45.9%) |
| CIE-LAB | lab(31.32, 47.45, 2.89) |
| CIE-LCH | lch(31.32, 47.54, 3.48°) |
| OKLab | oklab(42.69% 0.1454 0.0079) |
| OKLCH | oklch(42.69% 0.146 3.1) |
| XYZ | xyz(12.0838, 6.7884, 6.6340) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.88
Mulberry
#920A4E
ΔE00 3.09
Purple Red
#990147
ΔE00 3.15
Wine (survey)
#80013F
ΔE00 3.82
Reddish Purple
#910951
ΔE00 3.90
Red Purple
#820747
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E47 #1E8A61
analogous
#8A1E7D #8A1E47 #8A2B1E
triadic
#8A1E47 #478A1E #1E478A
tetradic
#8A1E47 #7D8A1E #1E8A61 #2B1E8A
square
#8A1E47 #7D8A1E #1E8A61 #2B1E8A
split-complementary
#8A1E47 #1E8A2B #1E7D8A
monochromatic
#250813 #58132D #8A1E47 #BC2961 #D84B80
Accessibility & contrast
On white
8.91
#8A1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E47
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E47 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#960530
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e47; /* rgb */ color: rgb(138, 30, 71); /* oklch */ color: oklch(42.7% 0.146 3.1);
Tailwind
colors: {
custom: {
50: '#b1657a',
500: '#8a1e47',
950: '#000000',
},
}SCSS
$custom: #8a1e47; $custom-light: #b1657a; $custom-dark: #000000;
JSON
{
"hex": "#8a1e47",
"rgb": {
"r": 138,
"g": 30,
"b": 71
},
"hsl": {
"h": 337.222,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42692,
"c": 0.14561,
"h": 3.1
},
"luminance": 0.06787
}Semantic roles & 50–950 ramp
primary
#8A1E47
secondary
#4ABA8F
accent
#E7A841
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B