#902877#902877
#902877 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 339.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #902877 |
|---|---|
| RGB | rgb(144, 40, 119) |
| HSL | hsl(314, 57%, 36%) |
| HSV | hsv(314, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 17.4%, 43.5%) |
| CIE-LAB | lab(35.56, 51.47, -21.53) |
| CIE-LCH | lch(35.56, 55.79, 337.30°) |
| OKLab | oklab(46.61% 0.1528 -0.0582) |
| OKLCH | oklch(46.61% 0.164 339.1) |
| XYZ | xyz(15.5905, 8.7803, 18.3229) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.78
Red Violet
#9E0168
ΔE00 5.20
Bruise
#7E4071
ΔE00 6.06
Light Eggplant
#894585
ΔE00 6.28
Barney Purple
#A00498
ΔE00 6.72
Darkmagenta
#8B008B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902877 #289041
analogous
#752890 #902877 #902843
triadic
#902877 #779028 #287790
tetradic
#902877 #907528 #289041 #284390
square
#902877 #907528 #289041 #284390
split-complementary
#902877 #439028 #289075
monochromatic
#300D28 #601B4F #902877 #C0359F #D360B7
Accessibility & contrast
On white
7.62
#902877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#902877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902877
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902877 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4F5A75
Tritanopia (blue-blind)
#982C4C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #902877; /* rgb */ color: rgb(144, 40, 119); /* oklch */ color: oklch(46.6% 0.164 339.1);
Tailwind
colors: {
custom: {
50: '#b46c9e',
500: '#902877',
950: '#000000',
},
}SCSS
$custom: #902877; $custom-light: #b46c9e; $custom-dark: #000000;
JSON
{
"hex": "#902877",
"rgb": {
"r": 144,
"g": 40,
"b": 119
},
"hsl": {
"h": 314.423,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.46605,
"c": 0.1635,
"h": 339.1
},
"luminance": 0.08779
}Semantic roles & 50–950 ramp
primary
#902877
secondary
#5CB872
accent
#E06C48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E