#8A3A72#8A3A72
#8A3A72 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.5% C 0.129 H 340.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3A72 |
|---|---|
| RGB | rgb(138, 58, 114) |
| HSL | hsl(318, 41%, 38%) |
| HSV | hsv(318, 58%, 54%) |
| CMYK | cmyk(0%, 58%, 17.4%, 45.9%) |
| CIE-LAB | lab(37.20, 41.09, -15.94) |
| CIE-LCH | lch(37.20, 44.07, 338.79°) |
| OKLab | oklab(47.54% 0.1217 -0.0427) |
| OKLCH | oklch(47.54% 0.129 340.6) |
| XYZ | xyz(15.0318, 9.6455, 16.9864) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.96
Light Eggplant
#894585
ΔE00 4.79
Grape
#6C3461
ΔE00 6.50
Warm Purple
#952E8F
ΔE00 6.94
Red Violet
#9E0168
ΔE00 7.08
Purplish
#94568C
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3A72 #3A8A52
analogous
#7A3A8A #8A3A72 #8A3A4A
triadic
#8A3A72 #728A3A #3A728A
tetradic
#8A3A72 #8A7A3A #3A8A52 #3A4A8A
square
#8A3A72 #8A7A3A #3A8A52 #3A4A8A
split-complementary
#8A3A72 #4A8A3A #3A8A7A
monochromatic
#34162B #5F284E #8A3A72 #B44D95 #C678AF
Accessibility & contrast
On white
7.17
#8A3A72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8A3A72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A3A72
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3A72 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#555C70
Tritanopia (blue-blind)
#923B51
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a3a72; /* rgb */ color: rgb(138, 58, 114); /* oklch */ color: oklch(47.5% 0.129 340.6);
Tailwind
colors: {
custom: {
50: '#ae749a',
500: '#8a3a72',
950: '#000000',
},
}SCSS
$custom: #8a3a72; $custom-light: #ae749a; $custom-dark: #000000;
JSON
{
"hex": "#8a3a72",
"rgb": {
"r": 138,
"g": 58,
"b": 114
},
"hsl": {
"h": 318,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.4754,
"c": 0.12897,
"h": 340.6
},
"luminance": 0.09644
}Semantic roles & 50–950 ramp
primary
#8A3A72
secondary
#70B083
accent
#D17C57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E