#8A1E52#8A1E52
#8A1E52 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.150 H 356.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E52 |
|---|---|
| RGB | rgb(138, 30, 82) |
| HSL | hsl(331, 64%, 33%) |
| HSV | hsv(331, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 40.6%, 45.9%) |
| CIE-LAB | lab(31.68, 48.56, -3.82) |
| CIE-LCH | lch(31.68, 48.71, 355.50°) |
| OKLab | oklab(43.07% 0.1492 -0.0094) |
| OKLCH | oklch(43.07% 0.15 356.4) |
| XYZ | xyz(12.4694, 6.9426, 8.6644) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.01
Mulberry
#920A4E
ΔE00 2.35
Dark Magenta
#960056
ΔE00 2.87
Red Purple
#820747
ΔE00 3.20
Dark Fuchsia
#9D0759
ΔE00 3.61
Deep Magenta
#A0025C
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E52 #1E8A56
analogous
#8A1E88 #8A1E52 #8A201E
triadic
#8A1E52 #528A1E #1E528A
tetradic
#8A1E52 #888A1E #1E8A56 #201E8A
square
#8A1E52 #888A1E #1E8A56 #201E8A
split-complementary
#8A1E52 #1E8A20 #1E888A
monochromatic
#250816 #581334 #8A1E52 #BC2970 #D84B8F
Accessibility & contrast
On white
8.79
#8A1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A1E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E52
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E52 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#960F35
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e52; /* rgb */ color: rgb(138, 30, 82); /* oklch */ color: oklch(43.1% 0.150 356.4);
Tailwind
colors: {
custom: {
50: '#b16582',
500: '#8a1e52',
950: '#000000',
},
}SCSS
$custom: #8a1e52; $custom-light: #b16582; $custom-dark: #000000;
JSON
{
"hex": "#8a1e52",
"rgb": {
"r": 138,
"g": 30,
"b": 82
},
"hsl": {
"h": 331.111,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.43069,
"c": 0.14953,
"h": 356.4
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#8A1E52
secondary
#4ABA84
accent
#E79741
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C