#901872#901872
#901872 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.177 H 340.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #901872 |
|---|---|
| RGB | rgb(144, 24, 114) |
| HSL | hsl(315, 71%, 33%) |
| HSV | hsv(315, 83%, 56%) |
| CMYK | cmyk(0%, 83.3%, 20.8%, 43.5%) |
| CIE-LAB | lab(33.56, 55.77, -21.48) |
| CIE-LCH | lch(33.56, 59.76, 338.94°) |
| OKLab | oklab(45.08% 0.1673 -0.0579) |
| OKLCH | oklch(45.08% 0.177 340.9) |
| XYZ | xyz(14.8660, 7.7990, 16.6388) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.24
Warm Purple
#952E8F
ΔE00 6.07
Darkish Purple
#751973
ΔE00 6.19
Darkmagenta
#8B008B
ΔE00 6.37
Purple
#800080
ΔE00 6.50
Barney Purple
#A00498
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901872 #189036
analogous
#721890 #901872 #901836
triadic
#901872 #729018 #187290
tetradic
#901872 #907218 #189036 #183690
square
#901872 #907218 #189036 #183690
split-complementary
#901872 #369018 #189072
monochromatic
#27071F #5C0F48 #901872 #C4219C #E043B8
Accessibility & contrast
On white
8.21
#901872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#901872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901872
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901872 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#991C45
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #901872; /* rgb */ color: rgb(144, 24, 114); /* oklch */ color: oklch(45.1% 0.177 340.9);
Tailwind
colors: {
custom: {
50: '#b5659a',
500: '#901872',
950: '#000000',
},
}SCSS
$custom: #901872; $custom-light: #b5659a; $custom-dark: #000000;
JSON
{
"hex": "#901872",
"rgb": {
"r": 144,
"g": 24,
"b": 114
},
"hsl": {
"h": 315,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.45085,
"c": 0.17706,
"h": 340.9
},
"luminance": 0.07797
}Semantic roles & 50–950 ramp
primary
#901872
secondary
#43C063
accent
#EE673A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E