#842E70#842E70
#842E70 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.142 H 338.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #842E70 |
|---|---|
| RGB | rgb(132, 46, 112) |
| HSL | hsl(314, 48%, 35%) |
| HSV | hsv(314, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 15.2%, 48.2%) |
| CIE-LAB | lab(34.05, 44.63, -19.62) |
| CIE-LCH | lch(34.05, 48.75, 336.26°) |
| OKLab | oklab(45% 0.1315 -0.0531) |
| OKLCH | oklch(45% 0.142 338) |
| XYZ | xyz(13.4176, 8.0305, 16.1695) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.39
Grape
#6C3461
ΔE00 5.53
Darkish Purple
#751973
ΔE00 6.08
Light Eggplant
#894585
ΔE00 6.10
Warm Purple
#952E8F
ΔE00 6.25
Red Violet
#9E0168
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E70 #2E8442
analogous
#6D2E84 #842E70 #842E45
triadic
#842E70 #70842E #2E7084
tetradic
#842E70 #846D2E #2E8442 #2E4584
square
#842E70 #846D2E #2E8442 #2E4584
split-complementary
#842E70 #45842E #2E846D
monochromatic
#290E23 #571E49 #842E70 #B13E97 #C964B1
Accessibility & contrast
On white
8.06
#842E70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#842E70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E70
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E70 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314872
Deuteranopia (green-blind)
#4C556E
Tritanopia (blue-blind)
#8B314A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #842e70; /* rgb */ color: rgb(132, 46, 112); /* oklch */ color: oklch(45.0% 0.142 338.0);
Tailwind
colors: {
custom: {
50: '#aa6d99',
500: '#842e70',
950: '#000000',
},
}SCSS
$custom: #842e70; $custom-light: #aa6d99; $custom-dark: #000000;
JSON
{
"hex": "#842e70",
"rgb": {
"r": 132,
"g": 46,
"b": 112
},
"hsl": {
"h": 313.953,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.44999,
"c": 0.14176,
"h": 338
},
"luminance": 0.08029
}Semantic roles & 50–950 ramp
primary
#842E70
secondary
#5EB071
accent
#D87050
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E