#842E72#842E72
#842E72 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.143 H 336.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #842E72 |
|---|---|
| RGB | rgb(132, 46, 114) |
| HSL | hsl(313, 48%, 35%) |
| HSV | hsv(313, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 13.6%, 48.2%) |
| CIE-LAB | lab(34.14, 44.95, -20.74) |
| CIE-LCH | lch(34.14, 49.51, 335.23°) |
| OKLab | oklab(45.1% 0.1318 -0.0562) |
| OKLCH | oklch(45.1% 0.143 336.9) |
| XYZ | xyz(13.5302, 8.0756, 16.7625) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.50
Grape
#6C3461
ΔE00 5.71
Darkish Purple
#751973
ΔE00 5.79
Warm Purple
#952E8F
ΔE00 5.84
Light Eggplant
#894585
ΔE00 5.88
Red Violet
#9E0168
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E72 #2E8440
analogous
#6B2E84 #842E72 #842E47
triadic
#842E72 #72842E #2E7284
tetradic
#842E72 #846B2E #2E8440 #2E4784
square
#842E72 #846B2E #2E8440 #2E4784
split-complementary
#842E72 #47842E #2E846B
monochromatic
#290E24 #571E4B #842E72 #B13E99 #C964B4
Accessibility & contrast
On white
8.03
#842E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#842E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E72
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E72 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#8B324B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #842e72; /* rgb */ color: rgb(132, 46, 114); /* oklch */ color: oklch(45.1% 0.143 336.9);
Tailwind
colors: {
custom: {
50: '#aa6d9a',
500: '#842e72',
950: '#000000',
},
}SCSS
$custom: #842e72; $custom-light: #aa6d9a; $custom-dark: #000000;
JSON
{
"hex": "#842e72",
"rgb": {
"r": 132,
"g": 46,
"b": 114
},
"hsl": {
"h": 312.558,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.45097,
"c": 0.14331,
"h": 336.9
},
"luminance": 0.08074
}Semantic roles & 50–950 ramp
primary
#842E72
secondary
#5EB06F
accent
#D86C50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E