#87336C#87336C
#87336C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.133 H 342.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #87336C |
|---|---|
| RGB | rgb(135, 51, 108) |
| HSL | hsl(319, 45%, 36%) |
| HSV | hsv(319, 62%, 53%) |
| CMYK | cmyk(0%, 62.2%, 20%, 47.1%) |
| CIE-LAB | lab(35.21, 42.60, -15.27) |
| CIE-LCH | lch(35.21, 45.25, 340.28°) |
| OKLab | oklab(45.89% 0.1271 -0.0408) |
| OKLCH | oklch(45.89% 0.133 342.2) |
| XYZ | xyz(13.8826, 8.6025, 15.1137) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.75
Grape
#6C3461
ΔE00 5.71
Red Violet
#9E0168
ΔE00 6.10
Light Eggplant
#894585
ΔE00 6.27
Warm Purple
#952E8F
ΔE00 7.50
Dark Magenta
#960056
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87336C #33874E
analogous
#783387 #87336C #873342
triadic
#87336C #6C8733 #336C87
tetradic
#87336C #877833 #33874E #334287
square
#87336C #877833 #33874E #334287
split-complementary
#87336C #428733 #338778
monochromatic
#2E1125 #5B2248 #87336C #B34490 #C86DAA
Accessibility & contrast
On white
7.72
#87336C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#87336C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87336C
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87336C | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#51586A
Tritanopia (blue-blind)
#8F344B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #87336c; /* rgb */ color: rgb(135, 51, 108); /* oklch */ color: oklch(45.9% 0.133 342.2);
Tailwind
colors: {
custom: {
50: '#ad7096',
500: '#87336c',
950: '#000000',
},
}SCSS
$custom: #87336c; $custom-light: #ad7096; $custom-dark: #000000;
JSON
{
"hex": "#87336c",
"rgb": {
"r": 135,
"g": 51,
"b": 108
},
"hsl": {
"h": 319.286,
"s": 45.161,
"l": 36.471
},
"oklch": {
"l": 0.45891,
"c": 0.13345,
"h": 342.2
},
"luminance": 0.08601
}Semantic roles & 50–950 ramp
primary
#87336C
secondary
#66B07E
accent
#D57D53
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080D
muted
#7F7B7E