#8A156D#8A156D
#8A156D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.173 H 340.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A156D |
|---|---|
| RGB | rgb(138, 21, 109) |
| HSL | hsl(315, 74%, 31%) |
| HSV | hsv(315, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 21%, 45.9%) |
| CIE-LAB | lab(31.91, 54.44, -20.95) |
| CIE-LCH | lch(31.91, 58.33, 338.95°) |
| OKLab | oklab(43.61% 0.1634 -0.0565) |
| OKLCH | oklch(43.61% 0.173 340.9) |
| XYZ | xyz(13.5102, 7.0452, 15.1134) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.75
Darkish Purple
#751973
ΔE00 5.43
Rich Purple
#720058
ΔE00 5.69
Velvet
#750851
ΔE00 6.07
Purple
#800080
ΔE00 6.16
Darkmagenta
#8B008B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A156D #158A32
analogous
#6C158A #8A156D #8A1532
triadic
#8A156D #6D8A15 #156D8A
tetradic
#8A156D #8A6C15 #158A32 #15328A
square
#8A156D #8A6C15 #158A32 #15328A
split-complementary
#8A156D #328A15 #158A6C
monochromatic
#200519 #550D43 #8A156D #BF1D97 #E139B7
Accessibility & contrast
On white
8.72
#8A156D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A156D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A156D
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A156D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A156D | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#48526A
Tritanopia (blue-blind)
#931941
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a156d; /* rgb */ color: rgb(138, 21, 109); /* oklch */ color: oklch(43.6% 0.173 340.9);
Tailwind
colors: {
custom: {
50: '#b06397',
500: '#8a156d',
950: '#000000',
},
}SCSS
$custom: #8a156d; $custom-light: #b06397; $custom-dark: #000000;
JSON
{
"hex": "#8a156d",
"rgb": {
"r": 138,
"g": 21,
"b": 109
},
"hsl": {
"h": 314.872,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.43607,
"c": 0.17288,
"h": 340.9
},
"luminance": 0.07044
}Semantic roles & 50–950 ramp
primary
#8A156D
secondary
#3DBE5D
accent
#F06538
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E