#87173F#87173F
#87173F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.148 H 5.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #87173F |
|---|---|
| RGB | rgb(135, 23, 63) |
| HSL | hsl(339, 71%, 31%) |
| HSV | hsv(339, 83%, 53%) |
| CMYK | cmyk(0%, 83%, 53.3%, 47.1%) |
| CIE-LAB | lab(29.72, 48.02, 5.84) |
| CIE-LCH | lch(29.72, 48.37, 6.93°) |
| OKLab | oklab(41.33% 0.1468 0.0152) |
| OKLCH | oklch(41.33% 0.148 5.9) |
| XYZ | xyz(11.1963, 6.1242, 5.2942) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.47
Red Wine
#8C0034
ΔE00 3.51
Purple Red
#990147
ΔE00 3.56
Berry
#990F4B
ΔE00 3.86
Mulberry
#920A4E
ΔE00 4.44
Red Purple
#820747
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87173F #17875F
analogous
#871777 #87173F #872717
triadic
#87173F #3F8717 #173F87
tetradic
#87173F #778717 #17875F #271787
square
#87173F #778717 #17875F #271787
split-complementary
#87173F #178727 #177787
monochromatic
#1E050E #530E27 #87173F #BB2057 #DE3B75
Accessibility & contrast
On white
9.44
#87173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#87173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87173F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87173F | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#524E3C
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #87173f; /* rgb */ color: rgb(135, 23, 63); /* oklch */ color: oklch(41.3% 0.148 5.9);
Tailwind
colors: {
custom: {
50: '#b06273',
500: '#87173f',
950: '#000000',
},
}SCSS
$custom: #87173f; $custom-light: #b06273; $custom-dark: #000000;
JSON
{
"hex": "#87173f",
"rgb": {
"r": 135,
"g": 23,
"b": 63
},
"hsl": {
"h": 338.571,
"s": 70.886,
"l": 30.98
},
"oklch": {
"l": 0.41334,
"c": 0.14755,
"h": 5.9
},
"luminance": 0.06123
}Semantic roles & 50–950 ramp
primary
#87173F
secondary
#3FBB8F
accent
#EEAE3A
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B