#902878#902878
#902878 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 338.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #902878 |
|---|---|
| RGB | rgb(144, 40, 120) |
| HSL | hsl(314, 57%, 36%) |
| HSV | hsv(314, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 16.7%, 43.5%) |
| CIE-LAB | lab(35.60, 51.62, -22.08) |
| CIE-LCH | lch(35.60, 56.14, 336.84°) |
| OKLab | oklab(46.66% 0.1529 -0.0598) |
| OKLCH | oklch(46.66% 0.164 338.7) |
| XYZ | xyz(15.6509, 8.8044, 18.6408) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.56
Red Violet
#9E0168
ΔE00 5.37
Bruise
#7E4071
ΔE00 6.11
Light Eggplant
#894585
ΔE00 6.20
Barney Purple
#A00498
ΔE00 6.52
Darkmagenta
#8B008B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902878 #289040
analogous
#742890 #902878 #902844
triadic
#902878 #789028 #287890
tetradic
#902878 #907428 #289040 #284490
square
#902878 #907428 #289040 #284490
split-complementary
#902878 #449028 #289074
monochromatic
#300D28 #601B50 #902878 #C035A0 #D360B8
Accessibility & contrast
On white
7.61
#902878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#902878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902878
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902878 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#4F5A76
Tritanopia (blue-blind)
#982C4C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #902878; /* rgb */ color: rgb(144, 40, 120); /* oklch */ color: oklch(46.7% 0.164 338.7);
Tailwind
colors: {
custom: {
50: '#b46c9f',
500: '#902878',
950: '#000000',
},
}SCSS
$custom: #902878; $custom-light: #b46c9f; $custom-dark: #000000;
JSON
{
"hex": "#902878",
"rgb": {
"r": 144,
"g": 40,
"b": 120
},
"hsl": {
"h": 313.846,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.46655,
"c": 0.1642,
"h": 338.7
},
"luminance": 0.08803
}Semantic roles & 50–950 ramp
primary
#902878
secondary
#5CB871
accent
#E06B48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E