#8A1A6D#8A1A6D
#8A1A6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.168 H 341.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A6D |
|---|---|
| RGB | rgb(138, 26, 109) |
| HSL | hsl(316, 68%, 32%) |
| HSV | hsv(316, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 21%, 45.9%) |
| CIE-LAB | lab(32.36, 53.13, -20.24) |
| CIE-LCH | lch(32.36, 56.85, 339.14°) |
| OKLab | oklab(43.93% 0.1594 -0.0546) |
| OKLCH | oklch(43.93% 0.168 341.1) |
| XYZ | xyz(13.6114, 7.2476, 15.1471) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.63
Darkish Purple
#751973
ΔE00 5.66
Rich Purple
#720058
ΔE00 5.97
Velvet
#750851
ΔE00 6.18
Purple
#800080
ΔE00 6.51
Darkmagenta
#8B008B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A6D #1A8A37
analogous
#6F1A8A #8A1A6D #8A1A35
triadic
#8A1A6D #6D8A1A #1A6D8A
tetradic
#8A1A6D #8A6F1A #1A8A37 #1A358A
square
#8A1A6D #8A6F1A #1A8A37 #1A358A
split-complementary
#8A1A6D #358A1A #1A8A6F
monochromatic
#23071C #571044 #8A1A6D #BD2496 #DC43B4
Accessibility & contrast
On white
8.57
#8A1A6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A1A6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A6D
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A6D | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#49526B
Tritanopia (blue-blind)
#931D42
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1a6d; /* rgb */ color: rgb(138, 26, 109); /* oklch */ color: oklch(43.9% 0.168 341.1);
Tailwind
colors: {
custom: {
50: '#b06597',
500: '#8a1a6d',
950: '#000000',
},
}SCSS
$custom: #8a1a6d; $custom-light: #b06597; $custom-dark: #000000;
JSON
{
"hex": "#8a1a6d",
"rgb": {
"r": 138,
"g": 26,
"b": 109
},
"hsl": {
"h": 315.536,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.43934,
"c": 0.16844,
"h": 341.1
},
"luminance": 0.07246
}Semantic roles & 50–950 ramp
primary
#8A1A6D
secondary
#43BD63
accent
#EB6A3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E