#8A1A72#8A1A72
#8A1A72 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.172 H 338.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A72 |
|---|---|
| RGB | rgb(138, 26, 114) |
| HSL | hsl(313, 68%, 32%) |
| HSV | hsv(313, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 17.4%, 45.9%) |
| CIE-LAB | lab(32.61, 53.83, -23.05) |
| CIE-LCH | lch(32.61, 58.56, 336.82°) |
| OKLab | oklab(44.19% 0.16 -0.0625) |
| OKLCH | oklch(44.19% 0.172 338.7) |
| XYZ | xyz(13.8882, 7.3584, 16.6052) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.93
Red Violet
#9E0168
ΔE00 5.40
Purple
#800080
ΔE00 5.52
Darkmagenta
#8B008B
ΔE00 5.71
Warm Purple
#952E8F
ΔE00 6.04
Rich Purple
#720058
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A72 #1A8A32
analogous
#6A1A8A #8A1A72 #8A1A3A
triadic
#8A1A72 #728A1A #1A728A
tetradic
#8A1A72 #8A6A1A #1A8A32 #1A3A8A
square
#8A1A72 #8A6A1A #1A8A32 #1A3A8A
split-complementary
#8A1A72 #3A8A1A #1A8A6A
monochromatic
#23071D #571047 #8A1A72 #BD249D #DC43BB
Accessibility & contrast
On white
8.50
#8A1A72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8A1A72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A72
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A72 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#47536F
Tritanopia (blue-blind)
#922045
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1a72; /* rgb */ color: rgb(138, 26, 114); /* oklch */ color: oklch(44.2% 0.172 338.7);
Tailwind
colors: {
custom: {
50: '#b0659b',
500: '#8a1a72',
950: '#000000',
},
}SCSS
$custom: #8a1a72; $custom-light: #b0659b; $custom-dark: #000000;
JSON
{
"hex": "#8a1a72",
"rgb": {
"r": 138,
"g": 26,
"b": 114
},
"hsl": {
"h": 312.857,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.4419,
"c": 0.17176,
"h": 338.7
},
"luminance": 0.07357
}Semantic roles & 50–950 ramp
primary
#8A1A72
secondary
#43BD5D
accent
#EB623D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E