#871F45#871F45
#871F45 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 3.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #871F45 |
|---|---|
| RGB | rgb(135, 31, 69) |
| HSL | hsl(338, 63%, 33%) |
| HSV | hsv(338, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 48.9%, 47.1%) |
| CIE-LAB | lab(30.79, 46.03, 3.37) |
| CIE-LCH | lch(30.79, 46.15, 4.18°) |
| OKLab | oklab(42.17% 0.1409 0.0091) |
| OKLCH | oklch(42.17% 0.141 3.7) |
| XYZ | xyz(11.5568, 6.5621, 6.2871) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.49
Purple Red
#990147
ΔE00 3.65
Mulberry
#920A4E
ΔE00 3.66
Wine (survey)
#80013F
ΔE00 3.67
Red Purple
#820747
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F45 #1F8761
analogous
#871F79 #871F45 #872D1F
triadic
#871F45 #45871F #1F4587
tetradic
#871F45 #79871F #1F8761 #2D1F87
square
#871F45 #79871F #1F8761 #2D1F87
split-complementary
#871F45 #1F872D #1F7987
monochromatic
#230812 #55142C #871F45 #B92A5E #D64B7E
Accessibility & contrast
On white
9.08
#871F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#871F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F45
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F45 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B46
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#93082F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #871f45; /* rgb */ color: rgb(135, 31, 69); /* oklch */ color: oklch(42.2% 0.141 3.7);
Tailwind
colors: {
custom: {
50: '#af6578',
500: '#871f45',
950: '#000000',
},
}SCSS
$custom: #871f45; $custom-light: #af6578; $custom-dark: #000000;
JSON
{
"hex": "#871f45",
"rgb": {
"r": 135,
"g": 31,
"b": 69
},
"hsl": {
"h": 338.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.42173,
"c": 0.14123,
"h": 3.7
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#871F45
secondary
#4AB890
accent
#E6AA42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B