#872540#872540
#872540 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.133 H 8.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #872540 |
|---|---|
| RGB | rgb(135, 37, 64) |
| HSL | hsl(343, 57%, 34%) |
| HSV | hsv(343, 73%, 53%) |
| CMYK | cmyk(0%, 72.6%, 52.6%, 47.1%) |
| CIE-LAB | lab(31.45, 43.33, 7.61) |
| CIE-LCH | lch(31.45, 43.99, 9.96°) |
| OKLab | oklab(42.62% 0.1318 0.0196) |
| OKLCH | oklch(42.62% 0.133 8.5) |
| XYZ | xyz(11.5797, 6.8457, 5.5611) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.05
Purple Red
#990147
ΔE00 4.82
Berry
#990F4B
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.27
Bordeaux
#7B002C
ΔE00 5.52
Wine (survey)
#80013F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#872540 #25876C
analogous
#872571 #872540 #873B25
triadic
#872540 #408725 #254087
tetradic
#872540 #718725 #25876C #3B2587
square
#872540 #718725 #25876C #3B2587
split-complementary
#872540 #25873B #257187
monochromatic
#270B12 #571829 #872540 #B73257 #D15678
Accessibility & contrast
On white
8.87
#872540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#872540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #872540
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##872540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##872540 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#931130
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #872540; /* rgb */ color: rgb(135, 37, 64); /* oklch */ color: oklch(42.6% 0.133 8.5);
Tailwind
colors: {
custom: {
50: '#af6774',
500: '#872540',
950: '#000000',
},
}SCSS
$custom: #872540; $custom-light: #af6774; $custom-dark: #000000;
JSON
{
"hex": "#872540",
"rgb": {
"r": 135,
"g": 37,
"b": 64
},
"hsl": {
"h": 343.469,
"s": 56.977,
"l": 33.725
},
"oklch": {
"l": 0.42619,
"c": 0.13324,
"h": 8.5
},
"luminance": 0.06844
}Semantic roles & 50–950 ramp
primary
#872540
secondary
#53B59A
accent
#E0B648
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B