#8A1E58#8A1E58
#8A1E58 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.152 H 352.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E58 |
|---|---|
| RGB | rgb(138, 30, 88) |
| HSL | hsl(328, 64%, 33%) |
| HSV | hsv(328, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 36.2%, 45.9%) |
| CIE-LAB | lab(31.89, 49.23, -7.42) |
| CIE-LCH | lch(31.89, 49.79, 351.43°) |
| OKLab | oklab(43.3% 0.1511 -0.019) |
| OKLCH | oklch(43.3% 0.152 352.8) |
| XYZ | xyz(12.7077, 7.0379, 9.9199) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.74
Dark Magenta
#960056
ΔE00 2.87
Mulberry
#920A4E
ΔE00 3.55
Dark Fuchsia
#9D0759
ΔE00 3.75
Red Purple
#820747
ΔE00 4.05
Deep Magenta
#A0025C
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E58 #1E8A50
analogous
#861E8A #8A1E58 #8A1E22
triadic
#8A1E58 #588A1E #1E588A
tetradic
#8A1E58 #8A861E #1E8A50 #1E228A
square
#8A1E58 #8A861E #1E8A50 #1E228A
split-complementary
#8A1E58 #228A1E #1E8A86
monochromatic
#250818 #581338 #8A1E58 #BC2978 #D84B96
Accessibility & contrast
On white
8.72
#8A1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A1E58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E58
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E58 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323F59
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#951338
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1e58; /* rgb */ color: rgb(138, 30, 88); /* oklch */ color: oklch(43.3% 0.152 352.8);
Tailwind
colors: {
custom: {
50: '#b06587',
500: '#8a1e58',
950: '#000000',
},
}SCSS
$custom: #8a1e58; $custom-light: #b06587; $custom-dark: #000000;
JSON
{
"hex": "#8a1e58",
"rgb": {
"r": 138,
"g": 30,
"b": 88
},
"hsl": {
"h": 327.778,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.43299,
"c": 0.15225,
"h": 352.8
},
"luminance": 0.07036
}Semantic roles & 50–950 ramp
primary
#8A1E58
secondary
#4ABA7E
accent
#E78E41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C