#8A1570#8A1570
#8A1570 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.8% C 0.175 H 339.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1570 |
|---|---|
| RGB | rgb(138, 21, 112) |
| HSL | hsl(313, 74%, 31%) |
| HSV | hsv(313, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 18.8%, 45.9%) |
| CIE-LAB | lab(32.06, 54.85, -22.63) |
| CIE-LCH | lch(32.06, 59.34, 337.58°) |
| OKLab | oklab(43.76% 0.1637 -0.0613) |
| OKLCH | oklch(43.76% 0.175 339.5) |
| XYZ | xyz(13.6744, 7.1109, 15.9785) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.98
Red Violet
#9E0168
ΔE00 5.21
Purple
#800080
ΔE00 5.55
Darkmagenta
#8B008B
ΔE00 5.88
Rich Purple
#720058
ΔE00 5.92
Velvet
#750851
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1570 #158A2F
analogous
#69158A #8A1570 #8A1535
triadic
#8A1570 #708A15 #15708A
tetradic
#8A1570 #8A6915 #158A2F #15358A
square
#8A1570 #8A6915 #158A2F #15358A
split-complementary
#8A1570 #358A15 #158A69
monochromatic
#20051A #550D45 #8A1570 #BF1D9B #E139BB
Accessibility & contrast
On white
8.67
#8A1570 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A1570 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1570
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1570 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1570 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#47526D
Tritanopia (blue-blind)
#921B43
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1570; /* rgb */ color: rgb(138, 21, 112); /* oklch */ color: oklch(43.8% 0.175 339.5);
Tailwind
colors: {
custom: {
50: '#b06399',
500: '#8a1570',
950: '#000000',
},
}SCSS
$custom: #8a1570; $custom-light: #b06399; $custom-dark: #000000;
JSON
{
"hex": "#8a1570",
"rgb": {
"r": 138,
"g": 21,
"b": 112
},
"hsl": {
"h": 313.333,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.43762,
"c": 0.17482,
"h": 339.5
},
"luminance": 0.07109
}Semantic roles & 50–950 ramp
primary
#8A1570
secondary
#3DBE5A
accent
#F06138
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E