#8A146D#8A146D
#8A146D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.174 H 340.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A146D |
|---|---|
| RGB | rgb(138, 20, 109) |
| HSL | hsl(315, 75%, 31%) |
| HSV | hsv(315, 86%, 54%) |
| CMYK | cmyk(0%, 85.5%, 21%, 45.9%) |
| CIE-LAB | lab(31.83, 54.67, -21.08) |
| CIE-LCH | lch(31.83, 58.60, 338.92°) |
| OKLab | oklab(43.55% 0.1641 -0.0569) |
| OKLCH | oklch(43.55% 0.174 340.9) |
| XYZ | xyz(13.4922, 7.0091, 15.1074) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.77
Darkish Purple
#751973
ΔE00 5.39
Rich Purple
#720058
ΔE00 5.65
Velvet
#750851
ΔE00 6.05
Purple
#800080
ΔE00 6.10
Darkmagenta
#8B008B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A146D #148A31
analogous
#6C148A #8A146D #8A1432
triadic
#8A146D #6D8A14 #146D8A
tetradic
#8A146D #8A6C14 #148A31 #14328A
square
#8A146D #8A6C14 #148A31 #14328A
split-complementary
#8A146D #328A14 #148A6C
monochromatic
#1F0519 #550C43 #8A146D #BF1C97 #E236B8
Accessibility & contrast
On white
8.74
#8A146D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A146D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A146D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A146D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A146D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#48516A
Tritanopia (blue-blind)
#931841
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a146d; /* rgb */ color: rgb(138, 20, 109); /* oklch */ color: oklch(43.5% 0.174 340.9);
Tailwind
colors: {
custom: {
50: '#b06397',
500: '#8a146d',
950: '#000000',
},
}SCSS
$custom: #8a146d; $custom-light: #b06397; $custom-dark: #000000;
JSON
{
"hex": "#8a146d",
"rgb": {
"r": 138,
"g": 20,
"b": 109
},
"hsl": {
"h": 314.746,
"s": 74.684,
"l": 30.98
},
"oklch": {
"l": 0.43548,
"c": 0.17367,
"h": 340.9
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#8A146D
secondary
#3CBE5C
accent
#F16436
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E