#842E4F#842E4F
#842E4F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.122 H 359.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #842E4F |
|---|---|
| RGB | rgb(132, 46, 79) |
| HSL | hsl(337, 48%, 35%) |
| HSV | hsv(337, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 40.2%, 48.2%) |
| CIE-LAB | lab(32.76, 40.01, -0.40) |
| CIE-LCH | lch(32.76, 40.01, 359.42°) |
| OKLab | oklab(43.63% 0.1223 -0.0006) |
| OKLCH | oklch(43.63% 0.122 359.7) |
| XYZ | xyz(11.9047, 7.4254, 8.2019) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.88
Reddish Purple
#910951
ΔE00 5.13
Berry
#990F4B
ΔE00 5.28
Red Purple
#820747
ΔE00 5.38
Wine (survey)
#80013F
ΔE00 5.93
Purple Red
#990147
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E4F #2E8463
analogous
#842E7A #842E4F #84382E
triadic
#842E4F #4F842E #2E4F84
tetradic
#842E4F #7A842E #2E8463 #382E84
square
#842E4F #7A842E #2E8463 #382E84
split-complementary
#842E4F #2E8438 #2E7A84
monochromatic
#290E19 #571E34 #842E4F #B13E6A #C9648A
Accessibility & contrast
On white
8.45
#842E4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#842E4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E4F
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E4F | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4350
Deuteranopia (green-blind)
#55534D
Tritanopia (blue-blind)
#8F253B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #842e4f; /* rgb */ color: rgb(132, 46, 79); /* oklch */ color: oklch(43.6% 0.122 359.7);
Tailwind
colors: {
custom: {
50: '#ab6c80',
500: '#842e4f',
950: '#000000',
},
}SCSS
$custom: #842e4f; $custom-light: #ab6c80; $custom-dark: #000000;
JSON
{
"hex": "#842e4f",
"rgb": {
"r": 132,
"g": 46,
"b": 79
},
"hsl": {
"h": 336.977,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.43625,
"c": 0.12227,
"h": 359.7
},
"luminance": 0.07424
}Semantic roles & 50–950 ramp
primary
#842E4F
secondary
#5EB090
accent
#D8A450
background
#FAF6F7
surface
#F5ECEE
border
#CFC7C9
text
#11070A
muted
#807A7C