#87236C#87236C
#87236C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.156 H 340.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #87236C |
|---|---|
| RGB | rgb(135, 35, 108) |
| HSL | hsl(316, 59%, 33%) |
| HSV | hsv(316, 74%, 53%) |
| CMYK | cmyk(0%, 74.1%, 20%, 47.1%) |
| CIE-LAB | lab(32.78, 49.32, -19.00) |
| CIE-LCH | lch(32.78, 52.85, 338.93°) |
| OKLab | oklab(44.12% 0.1474 -0.0512) |
| OKLCH | oklch(44.12% 0.156 340.9) |
| XYZ | xyz(13.2999, 7.4370, 14.9195) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.86
Bruise
#7E4071
ΔE00 6.20
Velvet
#750851
ΔE00 6.25
Rich Purple
#720058
ΔE00 6.25
Grape
#6C3461
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87236C #23873E
analogous
#702387 #87236C #87233A
triadic
#87236C #6C8723 #236C87
tetradic
#87236C #877023 #23873E #233A87
square
#87236C #877023 #23873E #233A87
split-complementary
#87236C #3A8723 #238770
monochromatic
#260A1E #561645 #87236C #B83093 #D252B0
Accessibility & contrast
On white
8.44
#87236C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#87236C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87236C
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87236C | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B436E
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#8F2544
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #87236c; /* rgb */ color: rgb(135, 35, 108); /* oklch */ color: oklch(44.1% 0.156 340.9);
Tailwind
colors: {
custom: {
50: '#ad6896',
500: '#87236c',
950: '#000000',
},
}SCSS
$custom: #87236c; $custom-light: #ad6896; $custom-dark: #000000;
JSON
{
"hex": "#87236c",
"rgb": {
"r": 135,
"g": 35,
"b": 108
},
"hsl": {
"h": 316.2,
"s": 58.824,
"l": 33.333
},
"oklch": {
"l": 0.44117,
"c": 0.15602,
"h": 340.9
},
"luminance": 0.07436
}Semantic roles & 50–950 ramp
primary
#87236C
secondary
#50B66B
accent
#E27046
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E