#842E54#842E54
#842E54 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.8% C 0.124 H 356.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #842E54 |
|---|---|
| RGB | rgb(132, 46, 84) |
| HSL | hsl(333, 48%, 35%) |
| HSV | hsv(333, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 36.4%, 48.2%) |
| CIE-LAB | lab(32.92, 40.62, -3.40) |
| CIE-LCH | lch(32.92, 40.76, 355.21°) |
| OKLab | oklab(43.8% 0.124 -0.0084) |
| OKLCH | oklch(43.8% 0.124 356.1) |
| XYZ | xyz(12.0936, 7.5009, 9.1967) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.78
Mulberry
#920A4E
ΔE00 4.87
Red Purple
#820747
ΔE00 5.29
Dark Magenta
#960056
ΔE00 5.48
Dark Fuchsia
#9D0759
ΔE00 5.75
Berry
#990F4B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E54 #2E845E
analogous
#842E7F #842E54 #84332E
triadic
#842E54 #54842E #2E5484
tetradic
#842E54 #7F842E #2E845E #332E84
square
#842E54 #7F842E #2E845E #332E84
split-complementary
#842E54 #2E8433 #2E7F84
monochromatic
#290E1A #571E37 #842E54 #B13E71 #C96490
Accessibility & contrast
On white
8.40
#842E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#842E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E54
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E54 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4355
Deuteranopia (green-blind)
#545352
Tritanopia (blue-blind)
#8E273D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #842e54; /* rgb */ color: rgb(132, 46, 84); /* oklch */ color: oklch(43.8% 0.124 356.1);
Tailwind
colors: {
custom: {
50: '#ab6c84',
500: '#842e54',
950: '#000000',
},
}SCSS
$custom: #842e54; $custom-light: #ab6c84; $custom-dark: #000000;
JSON
{
"hex": "#842e54",
"rgb": {
"r": 132,
"g": 46,
"b": 84
},
"hsl": {
"h": 333.488,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.43801,
"c": 0.12433,
"h": 356.1
},
"luminance": 0.075
}Semantic roles & 50–950 ramp
primary
#842E54
secondary
#5EB08C
accent
#D89C50
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070A
muted
#7F7A7C