#842E75#842E75
#842E75 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.146 H 335.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #842E75 |
|---|---|
| RGB | rgb(132, 46, 117) |
| HSL | hsl(310, 48%, 35%) |
| HSV | hsv(310, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 11.4%, 48.2%) |
| CIE-LAB | lab(34.28, 45.44, -22.41) |
| CIE-LCH | lch(34.28, 50.67, 333.75°) |
| OKLab | oklab(45.25% 0.1323 -0.061) |
| OKLCH | oklch(45.25% 0.146 335.2) |
| XYZ | xyz(13.7037, 8.1450, 17.6766) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.75
Warm Purple
#952E8F
ΔE00 5.26
Darkish Purple
#751973
ΔE00 5.43
Light Eggplant
#894585
ΔE00 5.62
Grape
#6C3461
ΔE00 6.04
Purple
#800080
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E75 #2E843D
analogous
#682E84 #842E75 #842E4A
triadic
#842E75 #75842E #2E7584
tetradic
#842E75 #84682E #2E843D #2E4A84
square
#842E75 #84682E #2E843D #2E4A84
split-complementary
#842E75 #4A842E #2E8468
monochromatic
#290E25 #571E4D #842E75 #B13E9D #C964B7
Accessibility & contrast
On white
7.99
#842E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#842E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E75
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E75 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4877
Deuteranopia (green-blind)
#4A5573
Tritanopia (blue-blind)
#8A334D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #842e75; /* rgb */ color: rgb(132, 46, 117); /* oklch */ color: oklch(45.2% 0.146 335.2);
Tailwind
colors: {
custom: {
50: '#aa6d9d',
500: '#842e75',
950: '#000000',
},
}SCSS
$custom: #842e75; $custom-light: #aa6d9d; $custom-dark: #000000;
JSON
{
"hex": "#842e75",
"rgb": {
"r": 132,
"g": 46,
"b": 117
},
"hsl": {
"h": 310.465,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.45249,
"c": 0.14567,
"h": 335.2
},
"luminance": 0.08144
}Semantic roles & 50–950 ramp
primary
#842E75
secondary
#5EB06C
accent
#D86850
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E