#8A1E66#8A1E66
#8A1E66 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 344.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E66 |
|---|---|
| RGB | rgb(138, 30, 102) |
| HSL | hsl(320, 64%, 33%) |
| HSV | hsv(320, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 26.1%, 45.9%) |
| CIE-LAB | lab(32.46, 50.97, -15.61) |
| CIE-LCH | lch(32.46, 53.31, 342.98°) |
| OKLab | oklab(43.9% 0.1545 -0.0415) |
| OKLCH | oklch(43.9% 0.16 344.9) |
| XYZ | xyz(13.3444, 7.2926, 13.2727) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.83
Dark Magenta
#960056
ΔE00 5.34
Velvet
#750851
ΔE00 5.53
Deep Magenta
#A0025C
ΔE00 5.92
Reddish Purple
#910951
ΔE00 5.94
Dark Fuchsia
#9D0759
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E66 #1E8A42
analogous
#781E8A #8A1E66 #8A1E30
triadic
#8A1E66 #668A1E #1E668A
tetradic
#8A1E66 #8A781E #1E8A42 #1E308A
square
#8A1E66 #8A781E #1E8A42 #1E308A
split-complementary
#8A1E66 #308A1E #1E8A78
monochromatic
#25081C #581341 #8A1E66 #BC298B #D84BA9
Accessibility & contrast
On white
8.54
#8A1E66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8A1E66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E66
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E66 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4168
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#941C40
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1e66; /* rgb */ color: rgb(138, 30, 102); /* oklch */ color: oklch(43.9% 0.160 344.9);
Tailwind
colors: {
custom: {
50: '#b06691',
500: '#8a1e66',
950: '#000000',
},
}SCSS
$custom: #8a1e66; $custom-light: #b06691; $custom-dark: #000000;
JSON
{
"hex": "#8a1e66",
"rgb": {
"r": 138,
"g": 30,
"b": 102
},
"hsl": {
"h": 320,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.43902,
"c": 0.15996,
"h": 344.9
},
"luminance": 0.07291
}Semantic roles & 50–950 ramp
primary
#8A1E66
secondary
#4ABA6F
accent
#E77841
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D