#842848#842848
#842848 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.128 H 3.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #842848 |
|---|---|
| RGB | rgb(132, 40, 72) |
| HSL | hsl(339, 53%, 34%) |
| HSV | hsv(339, 70%, 52%) |
| CMYK | cmyk(0%, 69.7%, 45.5%, 48.2%) |
| CIE-LAB | lab(31.56, 41.90, 2.43) |
| CIE-LCH | lch(31.56, 41.97, 3.32°) |
| OKLab | oklab(42.67% 0.1281 0.0067) |
| OKLCH | oklch(42.67% 0.128 3) |
| XYZ | xyz(11.4451, 6.8924, 6.8573) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.50
Mulberry
#920A4E
ΔE00 4.54
Wine (survey)
#80013F
ΔE00 4.78
Red Purple
#820747
ΔE00 4.89
Purple Red
#990147
ΔE00 4.90
Reddish Purple
#910951
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842848 #288464
analogous
#842876 #842848 #843628
triadic
#842848 #488428 #284884
tetradic
#842848 #768428 #288464 #362884
square
#842848 #768428 #288464 #362884
split-complementary
#842848 #288436 #287684
monochromatic
#260C15 #551A2E #842848 #B33662 #CD5A82
Accessibility & contrast
On white
8.83
#842848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#842848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842848
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842848 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#8F1B35
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #842848; /* rgb */ color: rgb(132, 40, 72); /* oklch */ color: oklch(42.7% 0.128 3.0);
Tailwind
colors: {
custom: {
50: '#ac697a',
500: '#842848',
950: '#000000',
},
}SCSS
$custom: #842848; $custom-light: #ac697a; $custom-dark: #000000;
JSON
{
"hex": "#842848",
"rgb": {
"r": 132,
"g": 40,
"b": 72
},
"hsl": {
"h": 339.13,
"s": 53.488,
"l": 33.725
},
"oklch": {
"l": 0.42667,
"c": 0.1283,
"h": 3
},
"luminance": 0.06891
}Semantic roles & 50–950 ramp
primary
#842848
secondary
#56B292
accent
#DDAA4B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B