#8A146E#8A146E
#8A146E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 340.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A146E |
|---|---|
| RGB | rgb(138, 20, 110) |
| HSL | hsl(314, 75%, 31%) |
| HSV | hsv(314, 86%, 54%) |
| CMYK | cmyk(0%, 85.5%, 20.3%, 45.9%) |
| CIE-LAB | lab(31.88, 54.81, -21.64) |
| CIE-LCH | lch(31.88, 58.93, 338.45°) |
| OKLab | oklab(43.6% 0.1642 -0.0585) |
| OKLCH | oklch(43.6% 0.174 340.4) |
| XYZ | xyz(13.5463, 7.0308, 15.3925) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.92
Darkish Purple
#751973
ΔE00 5.23
Rich Purple
#720058
ΔE00 5.72
Purple
#800080
ΔE00 5.90
Velvet
#750851
ΔE00 6.21
Darkmagenta
#8B008B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A146E #148A30
analogous
#6B148A #8A146E #8A1433
triadic
#8A146E #6E8A14 #146E8A
tetradic
#8A146E #8A6B14 #148A30 #14338A
square
#8A146E #8A6B14 #148A30 #14338A
split-complementary
#8A146E #338A14 #148A6B
monochromatic
#1F0519 #550C43 #8A146E #BF1C99 #E236B9
Accessibility & contrast
On white
8.73
#8A146E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A146E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A146E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A146E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A146E | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#47516B
Tritanopia (blue-blind)
#931941
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a146e; /* rgb */ color: rgb(138, 20, 110); /* oklch */ color: oklch(43.6% 0.174 340.4);
Tailwind
colors: {
custom: {
50: '#b06398',
500: '#8a146e',
950: '#000000',
},
}SCSS
$custom: #8a146e; $custom-light: #b06398; $custom-dark: #000000;
JSON
{
"hex": "#8a146e",
"rgb": {
"r": 138,
"g": 20,
"b": 110
},
"hsl": {
"h": 314.237,
"s": 74.684,
"l": 30.98
},
"oklch": {
"l": 0.436,
"c": 0.17432,
"h": 340.4
},
"luminance": 0.07029
}Semantic roles & 50–950 ramp
primary
#8A146E
secondary
#3CBE5B
accent
#F16336
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E