#842845#842845
#842845 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.127 H 5.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #842845 |
|---|---|
| RGB | rgb(132, 40, 69) |
| HSL | hsl(341, 53%, 34%) |
| HSV | hsv(341, 70%, 52%) |
| CMYK | cmyk(0%, 69.7%, 47.7%, 48.2%) |
| CIE-LAB | lab(31.47, 41.59, 4.27) |
| CIE-LCH | lch(31.47, 41.81, 5.86°) |
| OKLab | oklab(42.57% 0.127 0.0114) |
| OKLCH | oklch(42.57% 0.127 5.1) |
| XYZ | xyz(11.3496, 6.8542, 6.3544) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.69
Purple Red
#990147
ΔE00 4.94
Wine (survey)
#80013F
ΔE00 5.06
Mulberry
#920A4E
ΔE00 5.17
Red Wine
#8C0034
ΔE00 5.52
Red Purple
#820747
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842845 #288467
analogous
#842873 #842845 #843928
triadic
#842845 #458428 #284584
tetradic
#842845 #738428 #288467 #392884
square
#842845 #738428 #288467 #392884
split-complementary
#842845 #288439 #287384
monochromatic
#260C14 #551A2C #842845 #B3365E #CD5A7E
Accessibility & contrast
On white
8.86
#842845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#842845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842845
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842845 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F46
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#901A34
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #842845; /* rgb */ color: rgb(132, 40, 69); /* oklch */ color: oklch(42.6% 0.127 5.1);
Tailwind
colors: {
custom: {
50: '#ac6978',
500: '#842845',
950: '#000000',
},
}SCSS
$custom: #842845; $custom-light: #ac6978; $custom-dark: #000000;
JSON
{
"hex": "#842845",
"rgb": {
"r": 132,
"g": 40,
"b": 69
},
"hsl": {
"h": 341.087,
"s": 53.488,
"l": 33.725
},
"oklch": {
"l": 0.42573,
"c": 0.12747,
"h": 5.1
},
"luminance": 0.06853
}Semantic roles & 50–950 ramp
primary
#842845
secondary
#56B295
accent
#DDAF4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B