#8A1E56#8A1E56
#8A1E56 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 354.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E56 |
|---|---|
| RGB | rgb(138, 30, 86) |
| HSL | hsl(329, 64%, 33%) |
| HSV | hsv(329, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 37.7%, 45.9%) |
| CIE-LAB | lab(31.82, 49.00, -6.23) |
| CIE-LCH | lch(31.82, 49.40, 352.76°) |
| OKLab | oklab(43.22% 0.1505 -0.0158) |
| OKLCH | oklch(43.22% 0.151 354) |
| XYZ | xyz(12.6260, 7.0053, 9.4896) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.38
Dark Magenta
#960056
ΔE00 2.75
Mulberry
#920A4E
ΔE00 3.10
Dark Fuchsia
#9D0759
ΔE00 3.61
Red Purple
#820747
ΔE00 3.70
Deep Magenta
#A0025C
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E56 #1E8A52
analogous
#881E8A #8A1E56 #8A1E20
triadic
#8A1E56 #568A1E #1E568A
tetradic
#8A1E56 #8A881E #1E8A52 #1E208A
square
#8A1E56 #8A881E #1E8A52 #1E208A
split-complementary
#8A1E56 #208A1E #1E8A88
monochromatic
#250817 #581337 #8A1E56 #BC2975 #D84B94
Accessibility & contrast
On white
8.75
#8A1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A1E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E56
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E56 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#951237
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1e56; /* rgb */ color: rgb(138, 30, 86); /* oklch */ color: oklch(43.2% 0.151 354.0);
Tailwind
colors: {
custom: {
50: '#b16585',
500: '#8a1e56',
950: '#000000',
},
}SCSS
$custom: #8a1e56; $custom-light: #b16585; $custom-dark: #000000;
JSON
{
"hex": "#8a1e56",
"rgb": {
"r": 138,
"g": 30,
"b": 86
},
"hsl": {
"h": 328.889,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.43221,
"c": 0.1513,
"h": 354
},
"luminance": 0.07004
}Semantic roles & 50–950 ramp
primary
#8A1E56
secondary
#4ABA80
accent
#E79141
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C