#842847#842847
#842847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.128 H 3.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #842847 |
|---|---|
| RGB | rgb(132, 40, 71) |
| HSL | hsl(340, 53%, 34%) |
| HSV | hsv(340, 70%, 52%) |
| CMYK | cmyk(0%, 69.7%, 46.2%, 48.2%) |
| CIE-LAB | lab(31.53, 41.80, 3.04) |
| CIE-LCH | lch(31.53, 41.91, 4.16°) |
| OKLab | oklab(42.64% 0.1277 0.0083) |
| OKLCH | oklch(42.64% 0.128 3.7) |
| XYZ | xyz(11.4127, 6.8795, 6.6869) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.54
Mulberry
#920A4E
ΔE00 4.73
Wine (survey)
#80013F
ΔE00 4.85
Purple Red
#990147
ΔE00 4.89
Red Purple
#820747
ΔE00 5.09
Reddish Purple
#910951
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842847 #288465
analogous
#842875 #842847 #843728
triadic
#842847 #478428 #284784
tetradic
#842847 #758428 #288465 #372884
square
#842847 #758428 #288465 #372884
split-complementary
#842847 #288437 #287584
monochromatic
#260C14 #551A2E #842847 #B33660 #CD5A80
Accessibility & contrast
On white
8.84
#842847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#842847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842847
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842847 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#901B34
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #842847; /* rgb */ color: rgb(132, 40, 71); /* oklch */ color: oklch(42.6% 0.128 3.7);
Tailwind
colors: {
custom: {
50: '#ac697a',
500: '#842847',
950: '#000000',
},
}SCSS
$custom: #842847; $custom-light: #ac697a; $custom-dark: #000000;
JSON
{
"hex": "#842847",
"rgb": {
"r": 132,
"g": 40,
"b": 71
},
"hsl": {
"h": 339.783,
"s": 53.488,
"l": 33.725
},
"oklch": {
"l": 0.42635,
"c": 0.128,
"h": 3.7
},
"luminance": 0.06878
}Semantic roles & 50–950 ramp
primary
#842847
secondary
#56B293
accent
#DDAC4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B