#842071#842071
#842071 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.161 H 336.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #842071 |
|---|---|
| RGB | rgb(132, 32, 113) |
| HSL | hsl(311, 61%, 32%) |
| HSV | hsv(311, 76%, 52%) |
| CMYK | cmyk(0%, 75.8%, 14.4%, 48.2%) |
| CIE-LAB | lab(32.11, 50.35, -23.28) |
| CIE-LCH | lch(32.11, 55.47, 335.19°) |
| OKLab | oklab(43.6% 0.1482 -0.0633) |
| OKLCH | oklch(43.6% 0.161 336.9) |
| XYZ | xyz(13.0131, 7.1320, 16.3108) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.12
Purple
#800080
ΔE00 5.30
Darkmagenta
#8B008B
ΔE00 5.79
Rich Purple
#720058
ΔE00 6.01
Warm Purple
#952E8F
ΔE00 6.20
Red Violet
#9E0168
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842071 #208433
analogous
#652084 #842071 #84203F
triadic
#842071 #718420 #207184
tetradic
#842071 #846520 #208433 #203F84
square
#842071 #846520 #208433 #203F84
split-complementary
#842071 #3F8420 #208465
monochromatic
#21081D #531447 #842071 #B52C9B #D34BB9
Accessibility & contrast
On white
8.66
#842071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#842071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842071
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842071 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8B2646
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #842071; /* rgb */ color: rgb(132, 32, 113); /* oklch */ color: oklch(43.6% 0.161 336.9);
Tailwind
colors: {
custom: {
50: '#ab669a',
500: '#842071',
950: '#000000',
},
}SCSS
$custom: #842071; $custom-light: #ab669a; $custom-dark: #000000;
JSON
{
"hex": "#842071",
"rgb": {
"r": 132,
"g": 32,
"b": 113
},
"hsl": {
"h": 311.4,
"s": 60.976,
"l": 32.157
},
"oklch": {
"l": 0.43604,
"c": 0.16118,
"h": 336.9
},
"luminance": 0.07131
}Semantic roles & 50–950 ramp
primary
#842071
secondary
#4AB65E
accent
#E46244
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E