#842E56#842E56
#842E56 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.125 H 354.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #842E56 |
|---|---|
| RGB | rgb(132, 46, 86) |
| HSL | hsl(332, 48%, 35%) |
| HSV | hsv(332, 65%, 52%) |
| CMYK | cmyk(0%, 65.2%, 34.8%, 48.2%) |
| CIE-LAB | lab(32.99, 40.87, -4.60) |
| CIE-LCH | lch(32.99, 41.13, 353.58°) |
| OKLab | oklab(43.88% 0.1247 -0.0116) |
| OKLCH | oklch(43.88% 0.125 354.7) |
| XYZ | xyz(12.1731, 7.5327, 9.6152) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 4.79
Mulberry
#920A4E
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.37
Red Purple
#820747
ΔE00 5.39
Dark Fuchsia
#9D0759
ΔE00 5.68
Deep Magenta
#A0025C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842E56 #2E845C
analogous
#842E81 #842E56 #84312E
triadic
#842E56 #56842E #2E5684
tetradic
#842E56 #81842E #2E845C #312E84
square
#842E56 #81842E #2E845C #312E84
split-complementary
#842E56 #2E8431 #2E8184
monochromatic
#290E1B #571E38 #842E56 #B13E74 #C96493
Accessibility & contrast
On white
8.38
#842E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#842E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842E56
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842E56 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#8E283E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #842e56; /* rgb */ color: rgb(132, 46, 86); /* oklch */ color: oklch(43.9% 0.125 354.7);
Tailwind
colors: {
custom: {
50: '#ab6c85',
500: '#842e56',
950: '#000000',
},
}SCSS
$custom: #842e56; $custom-light: #ab6c85; $custom-dark: #000000;
JSON
{
"hex": "#842e56",
"rgb": {
"r": 132,
"g": 46,
"b": 86
},
"hsl": {
"h": 332.093,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.43875,
"c": 0.12525,
"h": 354.7
},
"luminance": 0.07531
}Semantic roles & 50–950 ramp
primary
#842E56
secondary
#5EB08A
accent
#D89950
background
#FAF6F8
surface
#F5ECEF
border
#CFC7CA
text
#10070B
muted
#7F7A7C