#901871#901871
#901871 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.176 H 341.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #901871 |
|---|---|
| RGB | rgb(144, 24, 113) |
| HSL | hsl(316, 71%, 33%) |
| HSV | hsv(316, 83%, 56%) |
| CMYK | cmyk(0%, 83.3%, 21.5%, 43.5%) |
| CIE-LAB | lab(33.51, 55.63, -20.92) |
| CIE-LCH | lch(33.51, 59.44, 339.40°) |
| OKLab | oklab(45.03% 0.1672 -0.0564) |
| OKLCH | oklch(45.03% 0.176 341.4) |
| XYZ | xyz(14.8094, 7.7764, 16.3407) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.06
Warm Purple
#952E8F
ΔE00 6.26
Darkish Purple
#751973
ΔE00 6.31
Darkmagenta
#8B008B
ΔE00 6.59
Purple
#800080
ΔE00 6.69
Dark Magenta
#960056
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901871 #189037
analogous
#731890 #901871 #901835
triadic
#901871 #719018 #187190
tetradic
#901871 #907318 #189037 #183590
square
#901871 #907318 #189037 #183590
split-complementary
#901871 #359018 #189073
monochromatic
#27071F #5C0F48 #901871 #C4219A #E043B7
Accessibility & contrast
On white
8.22
#901871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#901871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901871
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901871 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#4C566E
Tritanopia (blue-blind)
#991B44
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #901871; /* rgb */ color: rgb(144, 24, 113); /* oklch */ color: oklch(45.0% 0.176 341.4);
Tailwind
colors: {
custom: {
50: '#b5659a',
500: '#901871',
950: '#000000',
},
}SCSS
$custom: #901871; $custom-light: #b5659a; $custom-dark: #000000;
JSON
{
"hex": "#901871",
"rgb": {
"r": 144,
"g": 24,
"b": 113
},
"hsl": {
"h": 315.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.45034,
"c": 0.17642,
"h": 341.4
},
"luminance": 0.07775
}Semantic roles & 50–950 ramp
primary
#901871
secondary
#43C064
accent
#EE683A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E