#842E71#842E71
#842E71 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.143 H 337.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #842E71 |
|---|---|
| RGB | rgb(132, 46, 113) |
| HSL | hsl(313, 48%, 35%) |
| HSV | hsv(313, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 14.4%, 48.2%) |
| CIE-LAB | lab(34.09, 44.79, -20.18) |
| CIE-LCH | lch(34.09, 49.13, 335.74°) |
| OKLab | oklab(45.05% 0.1316 -0.0547) |
| OKLCH | oklch(45.05% 0.143 337.4) |
| XYZ | xyz(13.4736, 8.0529, 16.4643) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.44
Grape
#6C3461
ΔE00 5.61
Darkish Purple
#751973
ΔE00 5.93
Light Eggplant
#894585
ΔE00 5.99
Warm Purple
#952E8F
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E71 #2E8441
analogous
#6C2E84 #842E71 #842E46
triadic
#842E71 #71842E #2E7184
tetradic
#842E71 #846C2E #2E8441 #2E4684
square
#842E71 #846C2E #2E8441 #2E4684
split-complementary
#842E71 #46842E #2E846C
monochromatic
#290E23 #571E4A #842E71 #B13E98 #C964B2
Accessibility & contrast
On white
8.04
#842E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#842E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E71
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E71 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#8B324B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #842e71; /* rgb */ color: rgb(132, 46, 113); /* oklch */ color: oklch(45.0% 0.143 337.4);
Tailwind
colors: {
custom: {
50: '#aa6d9a',
500: '#842e71',
950: '#000000',
},
}SCSS
$custom: #842e71; $custom-light: #aa6d9a; $custom-dark: #000000;
JSON
{
"hex": "#842e71",
"rgb": {
"r": 132,
"g": 46,
"b": 113
},
"hsl": {
"h": 313.256,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.45048,
"c": 0.14253,
"h": 337.4
},
"luminance": 0.08052
}Semantic roles & 50–950 ramp
primary
#842E71
secondary
#5EB070
accent
#D86E50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E