#893171#893171
#893171 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.142 H 339.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #893171 |
|---|---|
| RGB | rgb(137, 49, 113) |
| HSL | hsl(316, 47%, 36%) |
| HSV | hsv(316, 64%, 54%) |
| CMYK | cmyk(0%, 64.2%, 17.5%, 46.3%) |
| CIE-LAB | lab(35.42, 44.90, -18.07) |
| CIE-LCH | lch(35.42, 48.40, 338.08°) |
| OKLab | oklab(46.18% 0.1331 -0.0486) |
| OKLCH | oklch(46.18% 0.142 339.9) |
| XYZ | xyz(14.3958, 8.7085, 16.5423) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.10
Light Eggplant
#894585
ΔE00 5.67
Red Violet
#9E0168
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.20
Grape
#6C3461
ΔE00 6.23
Darkish Purple
#751973
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#893171 #318949
analogous
#753189 #893171 #893145
triadic
#893171 #718931 #317189
tetradic
#893171 #897531 #318949 #314589
square
#893171 #897531 #318949 #314589
split-complementary
#893171 #458931 #318975
monochromatic
#2F1127 #5C214C #893171 #B64196 #CA6BB0
Accessibility & contrast
On white
7.66
#893171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#893171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #893171
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##893171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##893171 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#91334C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #893171; /* rgb */ color: rgb(137, 49, 113); /* oklch */ color: oklch(46.2% 0.142 339.9);
Tailwind
colors: {
custom: {
50: '#ae6f9a',
500: '#893171',
950: '#000000',
},
}SCSS
$custom: #893171; $custom-light: #ae6f9a; $custom-dark: #000000;
JSON
{
"hex": "#893171",
"rgb": {
"r": 137,
"g": 49,
"b": 113
},
"hsl": {
"h": 316.364,
"s": 47.312,
"l": 36.471
},
"oklch": {
"l": 0.46181,
"c": 0.14174,
"h": 339.9
},
"luminance": 0.08707
}Semantic roles & 50–950 ramp
primary
#893171
secondary
#64B179
accent
#D77551
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E