#902771#902771
#902771 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 342.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #902771 |
|---|---|
| RGB | rgb(144, 39, 113) |
| HSL | hsl(318, 57%, 36%) |
| HSV | hsv(318, 73%, 56%) |
| CMYK | cmyk(0%, 72.9%, 21.5%, 43.5%) |
| CIE-LAB | lab(35.15, 50.97, -18.38) |
| CIE-LCH | lch(35.15, 54.18, 340.17°) |
| OKLab | oklab(46.22% 0.1529 -0.0493) |
| OKLCH | oklch(46.22% 0.161 342.1) |
| XYZ | xyz(15.2082, 8.5741, 16.4736) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.21
Bruise
#7E4071
ΔE00 6.04
Warm Purple
#952E8F
ΔE00 6.11
Deep Magenta
#A0025C
ΔE00 6.78
Dark Magenta
#960056
ΔE00 6.92
Light Eggplant
#894585
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902771 #279046
analogous
#7A2790 #902771 #90273C
triadic
#902771 #719027 #277190
tetradic
#902771 #907A27 #279046 #273C90
square
#902771 #907A27 #279046 #273C90
split-complementary
#902771 #3C9027 #27907A
monochromatic
#300D25 #601A4B #902771 #C03497 #D35EB1
Accessibility & contrast
On white
7.74
#902771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#902771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902771
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902771 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#992848
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #902771; /* rgb */ color: rgb(144, 39, 113); /* oklch */ color: oklch(46.2% 0.161 342.1);
Tailwind
colors: {
custom: {
50: '#b46b9a',
500: '#902771',
950: '#000000',
},
}SCSS
$custom: #902771; $custom-light: #b46b9a; $custom-dark: #000000;
JSON
{
"hex": "#902771",
"rgb": {
"r": 144,
"g": 39,
"b": 113
},
"hsl": {
"h": 317.714,
"s": 57.377,
"l": 35.882
},
"oklch": {
"l": 0.4622,
"c": 0.16065,
"h": 342.1
},
"luminance": 0.08573
}Semantic roles & 50–950 ramp
primary
#902771
secondary
#5AB976
accent
#E17447
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E