#87316E#87316E
#87316E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.138 H 340.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #87316E |
|---|---|
| RGB | rgb(135, 49, 110) |
| HSL | hsl(317, 47%, 36%) |
| HSV | hsv(317, 64%, 53%) |
| CMYK | cmyk(0%, 63.7%, 18.5%, 47.1%) |
| CIE-LAB | lab(34.95, 43.84, -16.92) |
| CIE-LCH | lch(34.95, 46.99, 338.89°) |
| OKLab | oklab(45.73% 0.1303 -0.0454) |
| OKLCH | oklch(45.73% 0.138 340.8) |
| XYZ | xyz(13.9048, 8.4745, 15.6523) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.96
Grape
#6C3461
ΔE00 5.76
Red Violet
#9E0168
ΔE00 6.00
Light Eggplant
#894585
ΔE00 6.07
Warm Purple
#952E8F
ΔE00 6.86
Darkish Purple
#751973
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87316E #31874A
analogous
#753187 #87316E #873143
triadic
#87316E #6E8731 #316E87
tetradic
#87316E #877531 #31874A #314387
square
#87316E #877531 #31874A #314387
split-complementary
#87316E #438731 #318775
monochromatic
#2D1025 #5A2149 #87316E #B44193 #C96AAD
Accessibility & contrast
On white
7.79
#87316E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#87316E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87316E
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87316E | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#8F334B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #87316e; /* rgb */ color: rgb(135, 49, 110); /* oklch */ color: oklch(45.7% 0.138 340.8);
Tailwind
colors: {
custom: {
50: '#ad6f97',
500: '#87316e',
950: '#000000',
},
}SCSS
$custom: #87316e; $custom-light: #ad6f97; $custom-dark: #000000;
JSON
{
"hex": "#87316e",
"rgb": {
"r": 135,
"g": 49,
"b": 110
},
"hsl": {
"h": 317.442,
"s": 46.739,
"l": 36.078
},
"oklch": {
"l": 0.45732,
"c": 0.13799,
"h": 340.8
},
"luminance": 0.08473
}Semantic roles & 50–950 ramp
primary
#87316E
secondary
#64B07A
accent
#D67851
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11080D
muted
#807B7E