#8A1C66#8A1C66
#8A1C66 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 344.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C66 |
|---|---|
| RGB | rgb(138, 28, 102) |
| HSL | hsl(320, 66%, 33%) |
| HSV | hsv(320, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 26.1%, 45.9%) |
| CIE-LAB | lab(32.25, 51.59, -15.94) |
| CIE-LCH | lch(32.25, 54.00, 342.83°) |
| OKLab | oklab(43.74% 0.1564 -0.0425) |
| OKLCH | oklch(43.74% 0.162 344.8) |
| XYZ | xyz(13.2953, 7.1946, 13.2563) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.82
Dark Magenta
#960056
ΔE00 5.36
Velvet
#750851
ΔE00 5.41
Deep Magenta
#A0025C
ΔE00 5.97
Reddish Purple
#910951
ΔE00 5.98
Rich Purple
#720058
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C66 #1C8A40
analogous
#771C8A #8A1C66 #8A1C2F
triadic
#8A1C66 #668A1C #1C668A
tetradic
#8A1C66 #8A771C #1C8A40 #1C2F8A
square
#8A1C66 #8A771C #1C8A40 #1C2F8A
split-complementary
#8A1C66 #2F8A1C #1C8A77
monochromatic
#24071B #571240 #8A1C66 #BD268C #DA47AA
Accessibility & contrast
On white
8.61
#8A1C66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8A1C66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C66
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C66 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#4C5264
Tritanopia (blue-blind)
#941A3F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1c66; /* rgb */ color: rgb(138, 28, 102); /* oklch */ color: oklch(43.7% 0.162 344.8);
Tailwind
colors: {
custom: {
50: '#b06591',
500: '#8a1c66',
950: '#000000',
},
}SCSS
$custom: #8a1c66; $custom-light: #b06591; $custom-dark: #000000;
JSON
{
"hex": "#8a1c66",
"rgb": {
"r": 138,
"g": 28,
"b": 102
},
"hsl": {
"h": 319.636,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.43743,
"c": 0.16205,
"h": 344.8
},
"luminance": 0.07193
}Semantic roles & 50–950 ramp
primary
#8A1C66
secondary
#46BB6D
accent
#E9763F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D