#872740#872740
#872740 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.131 H 9.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #872740 |
|---|---|
| RGB | rgb(135, 39, 64) |
| HSL | hsl(344, 55%, 34%) |
| HSV | hsv(344, 71%, 53%) |
| CMYK | cmyk(0%, 71.1%, 52.6%, 47.1%) |
| CIE-LAB | lab(31.75, 42.52, 8.02) |
| CIE-LCH | lch(31.75, 43.27, 10.69°) |
| OKLab | oklab(42.84% 0.1292 0.0206) |
| OKLCH | oklch(42.84% 0.131 9.1) |
| XYZ | xyz(11.6436, 6.9736, 5.5824) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.26
Purple Red
#990147
ΔE00 5.17
Berry
#990F4B
ΔE00 5.20
Cranberry
#9E003A
ΔE00 5.31
Wine
#722F37
ΔE00 5.52
Bordeaux
#7B002C
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872740 #27876E
analogous
#872770 #872740 #873E27
triadic
#872740 #408727 #274087
tetradic
#872740 #708727 #27876E #3E2787
square
#872740 #708727 #27876E #3E2787
split-complementary
#872740 #27873E #277087
monochromatic
#280C13 #581929 #872740 #B63557 #CF5978
Accessibility & contrast
On white
8.77
#872740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#872740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872740
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872740 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#931531
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #872740; /* rgb */ color: rgb(135, 39, 64); /* oklch */ color: oklch(42.8% 0.131 9.1);
Tailwind
colors: {
custom: {
50: '#af6874',
500: '#872740',
950: '#000000',
},
}SCSS
$custom: #872740; $custom-light: #af6874; $custom-dark: #000000;
JSON
{
"hex": "#872740",
"rgb": {
"r": 135,
"g": 39,
"b": 64
},
"hsl": {
"h": 344.375,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.42837,
"c": 0.13082,
"h": 9.1
},
"luminance": 0.06972
}Semantic roles & 50–950 ramp
primary
#872740
secondary
#56B49B
accent
#DFB849
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B