#902971#902971
#902971 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.158 H 342.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #902971 |
|---|---|
| RGB | rgb(144, 41, 113) |
| HSL | hsl(318, 56%, 36%) |
| HSV | hsv(318, 72%, 56%) |
| CMYK | cmyk(0%, 71.5%, 21.5%, 43.5%) |
| CIE-LAB | lab(35.42, 50.22, -17.97) |
| CIE-LCH | lch(35.42, 53.34, 340.31°) |
| OKLab | oklab(46.41% 0.1506 -0.0482) |
| OKLCH | oklch(46.41% 0.158 342.3) |
| XYZ | xyz(15.2757, 8.7089, 16.4961) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.33
Bruise
#7E4071
ΔE00 5.81
Warm Purple
#952E8F
ΔE00 6.16
Deep Magenta
#A0025C
ΔE00 6.79
Light Eggplant
#894585
ΔE00 6.83
Dark Magenta
#960056
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902971 #299048
analogous
#7C2990 #902971 #90293E
triadic
#902971 #719029 #297190
tetradic
#902971 #907C29 #299048 #293E90
square
#902971 #907C29 #299048 #293E90
split-complementary
#902971 #3E9029 #29907C
monochromatic
#310E26 #601B4C #902971 #C03796 #D261B0
Accessibility & contrast
On white
7.66
#902971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#902971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902971
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902971 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#52596F
Tritanopia (blue-blind)
#992A49
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #902971; /* rgb */ color: rgb(144, 41, 113); /* oklch */ color: oklch(46.4% 0.158 342.3);
Tailwind
colors: {
custom: {
50: '#b46c9a',
500: '#902971',
950: '#000000',
},
}SCSS
$custom: #902971; $custom-light: #b46c9a; $custom-dark: #000000;
JSON
{
"hex": "#902971",
"rgb": {
"r": 144,
"g": 41,
"b": 113
},
"hsl": {
"h": 318.058,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.46414,
"c": 0.15814,
"h": 342.3
},
"luminance": 0.08707
}Semantic roles & 50–950 ramp
primary
#902971
secondary
#5DB878
accent
#DF7649
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E