#8A1C5A#8A1C5A
#8A1C5A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 351.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C5A |
|---|---|
| RGB | rgb(138, 28, 90) |
| HSL | hsl(326, 66%, 33%) |
| HSV | hsv(326, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 34.8%, 45.9%) |
| CIE-LAB | lab(31.75, 50.10, -8.94) |
| CIE-LCH | lch(31.75, 50.89, 349.88°) |
| OKLab | oklab(43.22% 0.1536 -0.0232) |
| OKLCH | oklch(43.22% 0.155 351.4) |
| XYZ | xyz(12.7427, 6.9735, 10.3459) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.02
Reddish Purple
#910951
ΔE00 3.14
Dark Fuchsia
#9D0759
ΔE00 3.98
Mulberry
#920A4E
ΔE00 4.05
Red Violet
#9E0168
ΔE00 4.18
Deep Magenta
#A0025C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C5A #1C8A4C
analogous
#831C8A #8A1C5A #8A1C23
triadic
#8A1C5A #5A8A1C #1C5A8A
tetradic
#8A1C5A #8A831C #1C8A4C #1C238A
square
#8A1C5A #8A831C #1C8A4C #1C238A
split-complementary
#8A1C5A #238A1C #1C8A83
monochromatic
#240718 #571239 #8A1C5A #BD267B #DA479A
Accessibility & contrast
On white
8.77
#8A1C5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A1C5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C5A
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C5A | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#951239
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1c5a; /* rgb */ color: rgb(138, 28, 90); /* oklch */ color: oklch(43.2% 0.155 351.4);
Tailwind
colors: {
custom: {
50: '#b06588',
500: '#8a1c5a',
950: '#000000',
},
}SCSS
$custom: #8a1c5a; $custom-light: #b06588; $custom-dark: #000000;
JSON
{
"hex": "#8a1c5a",
"rgb": {
"r": 138,
"g": 28,
"b": 90
},
"hsl": {
"h": 326.182,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.43217,
"c": 0.15535,
"h": 351.4
},
"luminance": 0.06972
}Semantic roles & 50–950 ramp
primary
#8A1C5A
secondary
#46BB79
accent
#E9893F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C