#843771#843771
#843771 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.2% C 0.128 H 338.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #843771 |
|---|---|
| RGB | rgb(132, 55, 113) |
| HSL | hsl(315, 41%, 37%) |
| HSV | hsv(315, 58%, 52%) |
| CMYK | cmyk(0%, 58.3%, 14.4%, 48.2%) |
| CIE-LAB | lab(35.66, 40.53, -17.77) |
| CIE-LCH | lch(35.66, 44.25, 336.33°) |
| OKLab | oklab(46.2% 0.119 -0.0479) |
| OKLCH | oklch(46.2% 0.128 338.1) |
| XYZ | xyz(13.8627, 8.8313, 16.5941) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 2.60
Light Eggplant
#894585
ΔE00 4.88
Grape
#6C3461
ΔE00 5.28
Warm Purple
#952E8F
ΔE00 6.67
Red Violet
#9E0168
ΔE00 7.40
Darkish Purple
#751973
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#843771 #37844A
analogous
#713784 #843771 #84374B
triadic
#843771 #718437 #377184
tetradic
#843771 #847137 #37844A #374B84
square
#843771 #847137 #37844A #374B84
split-complementary
#843771 #4B8437 #378471
monochromatic
#2E1327 #59254C #843771 #AF4996 #C471B0
Accessibility & contrast
On white
7.59
#843771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#843771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #843771
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##843771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##843771 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#8B3A4F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #843771; /* rgb */ color: rgb(132, 55, 113); /* oklch */ color: oklch(46.2% 0.128 338.1);
Tailwind
colors: {
custom: {
50: '#aa729a',
500: '#843771',
950: '#000000',
},
}SCSS
$custom: #843771; $custom-light: #aa729a; $custom-dark: #000000;
JSON
{
"hex": "#843771",
"rgb": {
"r": 132,
"g": 55,
"b": 113
},
"hsl": {
"h": 314.805,
"s": 41.176,
"l": 36.667
},
"oklch": {
"l": 0.46197,
"c": 0.12828,
"h": 338.1
},
"luminance": 0.0883
}Semantic roles & 50–950 ramp
primary
#843771
secondary
#6AAD7B
accent
#D17557
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080E
muted
#7F7B7E