#87266F#87266F
#87266F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.154 H 339.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #87266F |
|---|---|
| RGB | rgb(135, 38, 111) |
| HSL | hsl(315, 56%, 34%) |
| HSV | hsv(315, 72%, 53%) |
| CMYK | cmyk(0%, 71.9%, 17.8%, 47.1%) |
| CIE-LAB | lab(33.32, 48.64, -20.08) |
| CIE-LCH | lch(33.32, 52.62, 337.57°) |
| OKLab | oklab(44.55% 0.1445 -0.0542) |
| OKLCH | oklch(44.55% 0.154 339.4) |
| XYZ | xyz(13.5544, 7.6861, 15.8056) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.49
Darkish Purple
#751973
ΔE00 5.68
Bruise
#7E4071
ΔE00 5.79
Warm Purple
#952E8F
ΔE00 6.32
Grape
#6C3461
ΔE00 6.44
Rich Purple
#720058
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87266F #26873E
analogous
#6F2687 #87266F #87263F
triadic
#87266F #6F8726 #266F87
tetradic
#87266F #876F26 #26873E #263F87
square
#87266F #876F26 #26873E #263F87
split-complementary
#87266F #3F8726 #26876F
monochromatic
#270B20 #571948 #87266F #B73396 #D058B2
Accessibility & contrast
On white
8.28
#87266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#87266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #87266F
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87266F | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#8F2947
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #87266f; /* rgb */ color: rgb(135, 38, 111); /* oklch */ color: oklch(44.6% 0.154 339.4);
Tailwind
colors: {
custom: {
50: '#ad6998',
500: '#87266f',
950: '#000000',
},
}SCSS
$custom: #87266f; $custom-light: #ad6998; $custom-dark: #000000;
JSON
{
"hex": "#87266f",
"rgb": {
"r": 135,
"g": 38,
"b": 111
},
"hsl": {
"h": 314.845,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.44554,
"c": 0.15433,
"h": 339.4
},
"luminance": 0.07685
}Semantic roles & 50–950 ramp
primary
#87266F
secondary
#54B56C
accent
#DF6E48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E