#842548#842548
#842548 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.132 H 2.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #842548 |
|---|---|
| RGB | rgb(132, 37, 72) |
| HSL | hsl(338, 56%, 33%) |
| HSV | hsv(338, 72%, 52%) |
| CMYK | cmyk(0%, 72%, 45.5%, 48.2%) |
| CIE-LAB | lab(31.11, 43.15, 1.78) |
| CIE-LCH | lch(31.11, 43.18, 2.36°) |
| OKLab | oklab(42.33% 0.1321 0.0051) |
| OKLCH | oklch(42.33% 0.132 2.2) |
| XYZ | xyz(11.3478, 6.6980, 6.8249) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.01
Wine (survey)
#80013F
ΔE00 4.20
Red Purple
#820747
ΔE00 4.22
Berry
#990F4B
ΔE00 4.26
Reddish Purple
#910951
ΔE00 4.55
Purple Red
#990147
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842548 #258461
analogous
#842577 #842548 #843225
triadic
#842548 #488425 #254884
tetradic
#842548 #778425 #258461 #322584
square
#842548 #778425 #258461 #322584
split-complementary
#842548 #258432 #257784
monochromatic
#240A14 #54182E #842548 #B43262 #CF5482
Accessibility & contrast
On white
8.98
#842548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#842548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842548
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842548 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#8F1733
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842548; /* rgb */ color: rgb(132, 37, 72); /* oklch */ color: oklch(42.3% 0.132 2.2);
Tailwind
colors: {
custom: {
50: '#ac677a',
500: '#842548',
950: '#000000',
},
}SCSS
$custom: #842548; $custom-light: #ac677a; $custom-dark: #000000;
JSON
{
"hex": "#842548",
"rgb": {
"r": 132,
"g": 37,
"b": 72
},
"hsl": {
"h": 337.895,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.42332,
"c": 0.13218,
"h": 2.2
},
"luminance": 0.06697
}Semantic roles & 50–950 ramp
primary
#842548
secondary
#51B38F
accent
#E0A848
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B