#842147#842147
#842147 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.137 H 1.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #842147 |
|---|---|
| RGB | rgb(132, 33, 71) |
| HSL | hsl(337, 60%, 32%) |
| HSV | hsv(337, 75%, 52%) |
| CMYK | cmyk(0%, 75%, 46.2%, 48.2%) |
| CIE-LAB | lab(30.52, 44.60, 1.58) |
| CIE-LCH | lch(30.52, 44.63, 2.03°) |
| OKLab | oklab(41.89% 0.1367 0.0046) |
| OKLCH | oklch(41.89% 0.137 1.9) |
| XYZ | xyz(11.1978, 6.4496, 6.6153) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.53
Mulberry
#920A4E
ΔE00 3.59
Red Purple
#820747
ΔE00 3.60
Berry
#990F4B
ΔE00 4.06
Reddish Purple
#910951
ΔE00 4.13
Purple Red
#990147
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842147 #21845E
analogous
#842178 #842147 #842D21
triadic
#842147 #478421 #214784
tetradic
#842147 #788421 #21845E #2D2184
square
#842147 #788421 #21845E #2D2184
split-complementary
#842147 #21842D #217884
monochromatic
#220912 #53152D #842147 #B52D61 #D24D80
Accessibility & contrast
On white
9.17
#842147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#842147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842147
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842147 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#901031
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #842147; /* rgb */ color: rgb(132, 33, 71); /* oklch */ color: oklch(41.9% 0.137 1.9);
Tailwind
colors: {
custom: {
50: '#ac657a',
500: '#842147',
950: '#000000',
},
}SCSS
$custom: #842147; $custom-light: #ac657a; $custom-dark: #000000;
JSON
{
"hex": "#842147",
"rgb": {
"r": 132,
"g": 33,
"b": 71
},
"hsl": {
"h": 336.97,
"s": 60,
"l": 32.353
},
"oklch": {
"l": 0.41887,
"c": 0.13675,
"h": 1.9
},
"luminance": 0.06448
}Semantic roles & 50–950 ramp
primary
#842147
secondary
#4BB68D
accent
#E3A645
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B