#892871#892871
#892871 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.155 H 339.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #892871 |
|---|---|
| RGB | rgb(137, 40, 113) |
| HSL | hsl(315, 55%, 35%) |
| HSV | hsv(315, 71%, 54%) |
| CMYK | cmyk(0%, 70.8%, 17.5%, 46.3%) |
| CIE-LAB | lab(34.04, 48.70, -20.19) |
| CIE-LCH | lch(34.04, 52.72, 337.48°) |
| OKLab | oklab(45.18% 0.1446 -0.0545) |
| OKLCH | oklch(45.18% 0.155 339.3) |
| XYZ | xyz(14.0563, 8.0295, 16.4291) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.43
Bruise
#7E4071
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.04
Grape
#6C3461
ΔE00 6.67
Light Eggplant
#894585
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#892871 #288940
analogous
#702889 #892871 #892841
triadic
#892871 #718928 #287189
tetradic
#892871 #897028 #288940 #284189
square
#892871 #897028 #288940 #284189
split-complementary
#892871 #418928 #288970
monochromatic
#2A0C23 #5A1A4A #892871 #B83698 #CF5CB3
Accessibility & contrast
On white
8.06
#892871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#892871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #892871
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##892871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##892871 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#912B49
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #892871; /* rgb */ color: rgb(137, 40, 113); /* oklch */ color: oklch(45.2% 0.155 339.3);
Tailwind
colors: {
custom: {
50: '#af6b9a',
500: '#892871',
950: '#000000',
},
}SCSS
$custom: #892871; $custom-light: #af6b9a; $custom-dark: #000000;
JSON
{
"hex": "#892871",
"rgb": {
"r": 137,
"g": 40,
"b": 113
},
"hsl": {
"h": 314.845,
"s": 54.802,
"l": 34.706
},
"oklch": {
"l": 0.45179,
"c": 0.15452,
"h": 339.3
},
"luminance": 0.08028
}Semantic roles & 50–950 ramp
primary
#892871
secondary
#58B56F
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E