#87226F#87226F
#87226F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.159 H 339.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #87226F |
|---|---|
| RGB | rgb(135, 34, 111) |
| HSL | hsl(314, 60%, 33%) |
| HSV | hsv(314, 75%, 53%) |
| CMYK | cmyk(0%, 74.8%, 17.8%, 47.1%) |
| CIE-LAB | lab(32.80, 50.12, -20.89) |
| CIE-LCH | lch(32.80, 54.29, 337.37°) |
| OKLab | oklab(44.17% 0.149 -0.0565) |
| OKLCH | oklch(44.17% 0.159 339.2) |
| XYZ | xyz(13.4333, 7.4439, 15.7652) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.45
Rich Purple
#720058
ΔE00 6.31
Warm Purple
#952E8F
ΔE00 6.38
Bruise
#7E4071
ΔE00 6.38
Purple
#800080
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87226F #22873A
analogous
#6C2287 #87226F #87223D
triadic
#87226F #6F8722 #226F87
tetradic
#87226F #876C22 #22873A #223D87
square
#87226F #876C22 #22873A #223D87
split-complementary
#87226F #3D8722 #22876C
monochromatic
#25091F #561647 #87226F #B82E97 #D350B4
Accessibility & contrast
On white
8.44
#87226F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#87226F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87226F
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87226F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87226F | 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)
#284371
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#8F2646
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #87226f; /* rgb */ color: rgb(135, 34, 111); /* oklch */ color: oklch(44.2% 0.159 339.2);
Tailwind
colors: {
custom: {
50: '#ad6898',
500: '#87226f',
950: '#000000',
},
}SCSS
$custom: #87226f; $custom-light: #ad6898; $custom-dark: #000000;
JSON
{
"hex": "#87226f",
"rgb": {
"r": 135,
"g": 34,
"b": 111
},
"hsl": {
"h": 314.257,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.44174,
"c": 0.15931,
"h": 339.2
},
"luminance": 0.07443
}Semantic roles & 50–950 ramp
primary
#87226F
secondary
#4EB767
accent
#E36A45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E