#87226B#87226B
#87226B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 341.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #87226B |
|---|---|
| RGB | rgb(135, 34, 107) |
| HSL | hsl(317, 60%, 33%) |
| HSV | hsv(317, 75%, 53%) |
| CMYK | cmyk(0%, 74.8%, 20.7%, 47.1%) |
| CIE-LAB | lab(32.61, 49.53, -18.63) |
| CIE-LCH | lch(32.61, 52.92, 339.38°) |
| OKLab | oklab(43.98% 0.1483 -0.0501) |
| OKLCH | oklch(43.98% 0.157 341.3) |
| XYZ | xyz(13.2180, 7.3578, 14.6311) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.94
Darkish Purple
#751973
ΔE00 5.95
Velvet
#750851
ΔE00 6.05
Rich Purple
#720058
ΔE00 6.11
Bruise
#7E4071
ΔE00 6.35
Grape
#6C3461
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87226B #22873E
analogous
#702287 #87226B #872238
triadic
#87226B #6B8722 #226B87
tetradic
#87226B #877022 #22873E #223887
square
#87226B #877022 #22873E #223887
split-complementary
#87226B #388722 #228770
monochromatic
#25091E #561644 #87226B #B82E92 #D350AF
Accessibility & contrast
On white
8.50
#87226B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#87226B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87226B
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87226B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87226B | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#4A5369
Tritanopia (blue-blind)
#8F2443
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #87226b; /* rgb */ color: rgb(135, 34, 107); /* oklch */ color: oklch(44.0% 0.157 341.3);
Tailwind
colors: {
custom: {
50: '#ad6795',
500: '#87226b',
950: '#000000',
},
}SCSS
$custom: #87226b; $custom-light: #ad6795; $custom-dark: #000000;
JSON
{
"hex": "#87226b",
"rgb": {
"r": 135,
"g": 34,
"b": 107
},
"hsl": {
"h": 316.634,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.43976,
"c": 0.15655,
"h": 341.3
},
"luminance": 0.07356
}Semantic roles & 50–950 ramp
primary
#87226B
secondary
#4EB76B
accent
#E37145
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E