#8A156E#8A156E
#8A156E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.174 H 340.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A156E |
|---|---|
| RGB | rgb(138, 21, 110) |
| HSL | hsl(314, 74%, 31%) |
| HSV | hsv(314, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 20.3%, 45.9%) |
| CIE-LAB | lab(31.96, 54.57, -21.51) |
| CIE-LCH | lch(31.96, 58.66, 338.48°) |
| OKLab | oklab(43.66% 0.1635 -0.0581) |
| OKLCH | oklch(43.66% 0.174 340.4) |
| XYZ | xyz(13.5643, 7.0668, 15.3985) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.89
Darkish Purple
#751973
ΔE00 5.27
Rich Purple
#720058
ΔE00 5.76
Purple
#800080
ΔE00 5.96
Velvet
#750851
ΔE00 6.22
Darkmagenta
#8B008B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A156E #158A31
analogous
#6B158A #8A156E #8A1533
triadic
#8A156E #6E8A15 #156E8A
tetradic
#8A156E #8A6B15 #158A31 #15338A
square
#8A156E #8A6B15 #158A31 #15338A
split-complementary
#8A156E #338A15 #158A6B
monochromatic
#200519 #550D44 #8A156E #BF1D98 #E139B9
Accessibility & contrast
On white
8.70
#8A156E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A156E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A156E
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A156E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A156E | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#931A42
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a156e; /* rgb */ color: rgb(138, 21, 110); /* oklch */ color: oklch(43.7% 0.174 340.4);
Tailwind
colors: {
custom: {
50: '#b06398',
500: '#8a156e',
950: '#000000',
},
}SCSS
$custom: #8a156e; $custom-light: #b06398; $custom-dark: #000000;
JSON
{
"hex": "#8a156e",
"rgb": {
"r": 138,
"g": 21,
"b": 110
},
"hsl": {
"h": 314.359,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.43658,
"c": 0.17352,
"h": 340.4
},
"luminance": 0.07065
}Semantic roles & 50–950 ramp
primary
#8A156E
secondary
#3DBE5C
accent
#F06438
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E