#8A1A54#8A1A54
#8A1A54 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 354.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A54 |
|---|---|
| RGB | rgb(138, 26, 84) |
| HSL | hsl(329, 68%, 32%) |
| HSV | hsv(329, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 39.1%, 45.9%) |
| CIE-LAB | lab(31.31, 50.02, -5.68) |
| CIE-LCH | lch(31.31, 50.34, 353.52°) |
| OKLab | oklab(42.83% 0.1538 -0.0144) |
| OKLCH | oklch(42.83% 0.154 354.7) |
| XYZ | xyz(12.4517, 6.7837, 9.0395) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.93
Dark Magenta
#960056
ΔE00 2.46
Mulberry
#920A4E
ΔE00 2.67
Red Purple
#820747
ΔE00 3.17
Dark Fuchsia
#9D0759
ΔE00 3.51
Deep Magenta
#A0025C
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A54 #1A8A50
analogous
#881A8A #8A1A54 #8A1A1C
triadic
#8A1A54 #548A1A #1A548A
tetradic
#8A1A54 #8A881A #1A8A50 #1A1C8A
square
#8A1A54 #8A881A #1A8A50 #1A1C8A
split-complementary
#8A1A54 #1C8A1A #1A8A88
monochromatic
#230715 #571035 #8A1A54 #BD2473 #DC4392
Accessibility & contrast
On white
8.91
#8A1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1A54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A54
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A54 | 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)
#323D55
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#950935
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1a54; /* rgb */ color: rgb(138, 26, 84); /* oklch */ color: oklch(42.8% 0.154 354.7);
Tailwind
colors: {
custom: {
50: '#b16484',
500: '#8a1a54',
950: '#000000',
},
}SCSS
$custom: #8a1a54; $custom-light: #b16484; $custom-dark: #000000;
JSON
{
"hex": "#8a1a54",
"rgb": {
"r": 138,
"g": 26,
"b": 84
},
"hsl": {
"h": 328.929,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42825,
"c": 0.15448,
"h": 354.7
},
"luminance": 0.06782
}Semantic roles & 50–950 ramp
primary
#8A1A54
secondary
#43BD7E
accent
#EB913D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C