#842740#842740
#842740 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.128 H 8.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #842740 |
|---|---|
| RGB | rgb(132, 39, 64) |
| HSL | hsl(344, 54%, 34%) |
| HSV | hsv(344, 70%, 52%) |
| CMYK | cmyk(0%, 70.5%, 51.5%, 48.2%) |
| CIE-LAB | lab(31.18, 41.53, 7.14) |
| CIE-LCH | lch(31.18, 42.14, 9.76°) |
| OKLab | oklab(42.31% 0.1263 0.0185) |
| OKLCH | oklch(42.31% 0.128 8.3) |
| XYZ | xyz(11.1676, 6.7282, 5.5601) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.51
Wine
#722F37
ΔE00 5.27
Purple Red
#990147
ΔE00 5.35
Berry
#990F4B
ΔE00 5.35
Bordeaux
#7B002C
ΔE00 5.60
Wine (survey)
#80013F
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842740 #27846B
analogous
#84276E #842740 #843C27
triadic
#842740 #408427 #274084
tetradic
#842740 #6E8427 #27846B #3C2784
square
#842740 #6E8427 #27846B #3C2784
split-complementary
#842740 #27843C #276E84
monochromatic
#260B12 #551929 #842740 #B33557 #CE5877
Accessibility & contrast
On white
8.95
#842740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#842740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842740
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842740 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#901731
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842740; /* rgb */ color: rgb(132, 39, 64); /* oklch */ color: oklch(42.3% 0.128 8.3);
Tailwind
colors: {
custom: {
50: '#ad6874',
500: '#842740',
950: '#000000',
},
}SCSS
$custom: #842740; $custom-light: #ad6874; $custom-dark: #000000;
JSON
{
"hex": "#842740",
"rgb": {
"r": 132,
"g": 39,
"b": 64
},
"hsl": {
"h": 343.871,
"s": 54.386,
"l": 33.529
},
"oklch": {
"l": 0.4231,
"c": 0.12766,
"h": 8.3
},
"luminance": 0.06727
}Semantic roles & 50–950 ramp
primary
#842740
secondary
#54B299
accent
#DEB64A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B