#8A1E71#8A1E71
#8A1E71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.167 H 339.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E71 |
|---|---|
| RGB | rgb(138, 30, 113) |
| HSL | hsl(314, 64%, 33%) |
| HSV | hsv(314, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 18.1%, 45.9%) |
| CIE-LAB | lab(32.97, 52.50, -21.84) |
| CIE-LCH | lch(32.97, 56.86, 337.41°) |
| OKLab | oklab(44.44% 0.1563 -0.0591) |
| OKLCH | oklch(44.44% 0.167 339.3) |
| XYZ | xyz(13.9265, 7.5255, 16.3387) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.17
Darkish Purple
#751973
ΔE00 5.30
Purple
#800080
ΔE00 6.07
Warm Purple
#952E8F
ΔE00 6.07
Darkmagenta
#8B008B
ΔE00 6.21
Rich Purple
#720058
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E71 #1E8A37
analogous
#6D1E8A #8A1E71 #8A1E3B
triadic
#8A1E71 #718A1E #1E718A
tetradic
#8A1E71 #8A6D1E #1E8A37 #1E3B8A
square
#8A1E71 #8A6D1E #1E8A37 #1E3B8A
split-complementary
#8A1E71 #3B8A1E #1E8A6D
monochromatic
#25081F #581348 #8A1E71 #BC299A #D84BB7
Accessibility & contrast
On white
8.38
#8A1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8A1E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E71
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E71 | 1.00 | 8.38 | 2.50 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#922345
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a1e71; /* rgb */ color: rgb(138, 30, 113); /* oklch */ color: oklch(44.4% 0.167 339.3);
Tailwind
colors: {
custom: {
50: '#b0669a',
500: '#8a1e71',
950: '#000000',
},
}SCSS
$custom: #8a1e71; $custom-light: #b0669a; $custom-dark: #000000;
JSON
{
"hex": "#8a1e71",
"rgb": {
"r": 138,
"g": 30,
"b": 113
},
"hsl": {
"h": 313.889,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.44437,
"c": 0.16708,
"h": 339.3
},
"luminance": 0.07524
}Semantic roles & 50–950 ramp
primary
#8A1E71
secondary
#4ABA64
accent
#E76741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E