#902071#902071
#902071 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 341.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #902071 |
|---|---|
| RGB | rgb(144, 32, 113) |
| HSL | hsl(317, 64%, 35%) |
| HSV | hsv(317, 78%, 56%) |
| CMYK | cmyk(0%, 77.8%, 21.5%, 43.5%) |
| CIE-LAB | lab(34.31, 53.36, -19.69) |
| CIE-LCH | lch(34.31, 56.88, 339.75°) |
| OKLab | oklab(45.61% 0.1602 -0.0529) |
| OKLCH | oklch(45.61% 0.169 341.7) |
| XYZ | xyz(14.9993, 8.1561, 16.4040) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.01
Warm Purple
#952E8F
ΔE00 6.11
Darkish Purple
#751973
ΔE00 6.79
Bruise
#7E4071
ΔE00 6.83
Deep Magenta
#A0025C
ΔE00 6.86
Dark Magenta
#960056
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902071 #20903F
analogous
#772090 #902071 #902039
triadic
#902071 #719020 #207190
tetradic
#902071 #907720 #20903F #203990
square
#902071 #907720 #20903F #203990
split-complementary
#902071 #399020 #209077
monochromatic
#2C0A22 #5E154A #902071 #C22B98 #D952B3
Accessibility & contrast
On white
7.98
#902071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#902071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902071
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902071 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#4F576E
Tritanopia (blue-blind)
#992246
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902071; /* rgb */ color: rgb(144, 32, 113); /* oklch */ color: oklch(45.6% 0.169 341.7);
Tailwind
colors: {
custom: {
50: '#b4689a',
500: '#902071',
950: '#000000',
},
}SCSS
$custom: #902071; $custom-light: #b4689a; $custom-dark: #000000;
JSON
{
"hex": "#902071",
"rgb": {
"r": 144,
"g": 32,
"b": 113
},
"hsl": {
"h": 316.607,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.45607,
"c": 0.16874,
"h": 341.7
},
"luminance": 0.08155
}Semantic roles & 50–950 ramp
primary
#902071
secondary
#50BC6E
accent
#E76F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E