#87315E#87315E
#87315E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.128 H 351.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #87315E |
|---|---|
| RGB | rgb(135, 49, 94) |
| HSL | hsl(329, 47%, 36%) |
| HSV | hsv(329, 64%, 53%) |
| CMYK | cmyk(0%, 63.7%, 30.4%, 47.1%) |
| CIE-LAB | lab(34.31, 41.50, -7.72) |
| CIE-LCH | lch(34.31, 42.22, 349.46°) |
| OKLab | oklab(45.05% 0.1261 -0.02) |
| OKLCH | oklch(45.05% 0.128 351) |
| XYZ | xyz(13.1110, 8.1570, 11.4715) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.52
Dark Magenta
#960056
ΔE00 5.66
Dark Fuchsia
#9D0759
ΔE00 5.80
Mulberry
#920A4E
ΔE00 5.98
Deep Magenta
#A0025C
ΔE00 6.06
Red Violet
#9E0168
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87315E #31875A
analogous
#853187 #87315E #873133
triadic
#87315E #5E8731 #315E87
tetradic
#87315E #878531 #31875A #313387
square
#87315E #878531 #31875A #313387
split-complementary
#87315E #338731 #318785
monochromatic
#2D101F #5A213F #87315E #B4417D #C96A9B
Accessibility & contrast
On white
7.98
#87315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#87315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87315E
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87315E | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#55565C
Tritanopia (blue-blind)
#912D43
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #87315e; /* rgb */ color: rgb(135, 49, 94); /* oklch */ color: oklch(45.0% 0.128 351.0);
Tailwind
colors: {
custom: {
50: '#ad6e8b',
500: '#87315e',
950: '#000000',
},
}SCSS
$custom: #87315e; $custom-light: #ad6e8b; $custom-dark: #000000;
JSON
{
"hex": "#87315e",
"rgb": {
"r": 135,
"g": 49,
"b": 94
},
"hsl": {
"h": 328.605,
"s": 46.739,
"l": 36.078
},
"oklch": {
"l": 0.45045,
"c": 0.12768,
"h": 351
},
"luminance": 0.08156
}Semantic roles & 50–950 ramp
primary
#87315E
secondary
#64B088
accent
#D69151
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D