#873271#873271
#873271 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.139 H 339.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #873271 |
|---|---|
| RGB | rgb(135, 50, 113) |
| HSL | hsl(316, 46%, 36%) |
| HSV | hsv(316, 63%, 53%) |
| CMYK | cmyk(0%, 63%, 16.3%, 47.1%) |
| CIE-LAB | lab(35.25, 43.85, -18.35) |
| CIE-LCH | lch(35.25, 47.53, 337.29°) |
| OKLab | oklab(46% 0.1296 -0.0495) |
| OKLCH | oklch(46% 0.139 339.1) |
| XYZ | xyz(14.1132, 8.6256, 16.5412) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.78
Light Eggplant
#894585
ΔE00 5.49
Grape
#6C3461
ΔE00 5.86
Warm Purple
#952E8F
ΔE00 6.23
Red Violet
#9E0168
ΔE00 6.38
Darkish Purple
#751973
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873271 #328748
analogous
#733287 #873271 #873247
triadic
#873271 #718732 #327187
tetradic
#873271 #877332 #328748 #324787
square
#873271 #877332 #328748 #324787
split-complementary
#873271 #478732 #328773
monochromatic
#2E1126 #5A214C #873271 #B44396 #C86BB0
Accessibility & contrast
On white
7.71
#873271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#873271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #873271
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873271 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#8E354D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #873271; /* rgb */ color: rgb(135, 50, 113); /* oklch */ color: oklch(46.0% 0.139 339.1);
Tailwind
colors: {
custom: {
50: '#ad6f9a',
500: '#873271',
950: '#000000',
},
}SCSS
$custom: #873271; $custom-light: #ad6f9a; $custom-dark: #000000;
JSON
{
"hex": "#873271",
"rgb": {
"r": 135,
"g": 50,
"b": 113
},
"hsl": {
"h": 315.529,
"s": 45.946,
"l": 36.275
},
"oklch": {
"l": 0.45996,
"c": 0.13867,
"h": 339.1
},
"luminance": 0.08624
}Semantic roles & 50–950 ramp
primary
#873271
secondary
#65B078
accent
#D67452
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10080E
muted
#7F7B7E