#871F4F#871F4F
#871F4F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.145 H 357.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #871F4F |
|---|---|
| RGB | rgb(135, 31, 79) |
| HSL | hsl(332, 63%, 33%) |
| HSV | hsv(332, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 41.5%, 47.1%) |
| CIE-LAB | lab(31.11, 47.04, -2.76) |
| CIE-LCH | lch(31.11, 47.13, 356.64°) |
| OKLab | oklab(42.51% 0.1445 -0.0067) |
| OKLCH | oklch(42.51% 0.145 357.4) |
| XYZ | xyz(11.8938, 6.6969, 8.0619) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.47
Mulberry
#920A4E
ΔE00 2.57
Red Purple
#820747
ΔE00 2.86
Dark Magenta
#960056
ΔE00 3.54
Wine (survey)
#80013F
ΔE00 4.12
Dark Fuchsia
#9D0759
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F4F #1F8757
analogous
#871F83 #871F4F #87231F
triadic
#871F4F #4F871F #1F4F87
tetradic
#871F4F #83871F #1F8757 #231F87
square
#871F4F #83871F #1F8757 #231F87
split-complementary
#871F4F #1F8723 #1F8387
monochromatic
#230815 #551432 #871F4F #B92A6C #D64B8B
Accessibility & contrast
On white
8.98
#871F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#871F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F4F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F4F | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#921034
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #871f4f; /* rgb */ color: rgb(135, 31, 79); /* oklch */ color: oklch(42.5% 0.145 357.4);
Tailwind
colors: {
custom: {
50: '#af6580',
500: '#871f4f',
950: '#000000',
},
}SCSS
$custom: #871f4f; $custom-light: #af6580; $custom-dark: #000000;
JSON
{
"hex": "#871f4f",
"rgb": {
"r": 135,
"g": 31,
"b": 79
},
"hsl": {
"h": 332.308,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42511,
"c": 0.14465,
"h": 357.4
},
"luminance": 0.06695
}Semantic roles & 50–950 ramp
primary
#871F4F
secondary
#4AB885
accent
#E69A42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C