#87226C#87226C
#87226C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 340.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #87226C |
|---|---|
| RGB | rgb(135, 34, 108) |
| HSL | hsl(316, 60%, 33%) |
| HSV | hsv(316, 75%, 53%) |
| CMYK | cmyk(0%, 74.8%, 20%, 47.1%) |
| CIE-LAB | lab(32.65, 49.67, -19.20) |
| CIE-LCH | lch(32.65, 53.26, 338.87°) |
| OKLab | oklab(44.03% 0.1485 -0.0517) |
| OKLCH | oklch(44.03% 0.157 340.8) |
| XYZ | xyz(13.2709, 7.3790, 14.9098) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.76
Rich Purple
#720058
ΔE00 6.15
Velvet
#750851
ΔE00 6.19
Bruise
#7E4071
ΔE00 6.34
Grape
#6C3461
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87226C #22873D
analogous
#6F2287 #87226C #872239
triadic
#87226C #6C8722 #226C87
tetradic
#87226C #876F22 #22873D #223987
square
#87226C #876F22 #22873D #223987
split-complementary
#87226C #398722 #22876F
monochromatic
#25091E #561645 #87226C #B82E93 #D350B0
Accessibility & contrast
On white
8.48
#87226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#87226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87226C
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87226C | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#8F2444
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #87226c; /* rgb */ color: rgb(135, 34, 108); /* oklch */ color: oklch(44.0% 0.157 340.8);
Tailwind
colors: {
custom: {
50: '#ad6796',
500: '#87226c',
950: '#000000',
},
}SCSS
$custom: #87226c; $custom-light: #ad6796; $custom-dark: #000000;
JSON
{
"hex": "#87226c",
"rgb": {
"r": 135,
"g": 34,
"b": 108
},
"hsl": {
"h": 316.04,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.44025,
"c": 0.15723,
"h": 340.8
},
"luminance": 0.07378
}Semantic roles & 50–950 ramp
primary
#87226C
secondary
#4EB76A
accent
#E36F45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E