#902874#902874
#902874 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.161 H 340.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #902874 |
|---|---|
| RGB | rgb(144, 40, 116) |
| HSL | hsl(316, 57%, 36%) |
| HSV | hsv(316, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 19.4%, 43.5%) |
| CIE-LAB | lab(35.42, 51.03, -19.86) |
| CIE-LCH | lch(35.42, 54.76, 338.74°) |
| OKLab | oklab(46.46% 0.1523 -0.0535) |
| OKLCH | oklch(46.46% 0.161 340.7) |
| XYZ | xyz(15.4132, 8.7093, 17.3889) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.45
Bruise
#7E4071
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.57
Darkish Purple
#751973
ΔE00 7.14
Barney Purple
#A00498
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902874 #289044
analogous
#782890 #902874 #902840
triadic
#902874 #749028 #287490
tetradic
#902874 #907828 #289044 #284090
square
#902874 #907828 #289044 #284090
split-complementary
#902874 #409028 #289078
monochromatic
#300D27 #601B4D #902874 #C0359B #D360B4
Accessibility & contrast
On white
7.66
#902874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#902874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902874
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902874 | 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)
#304976
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#992B4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #902874; /* rgb */ color: rgb(144, 40, 116); /* oklch */ color: oklch(46.5% 0.161 340.7);
Tailwind
colors: {
custom: {
50: '#b46c9c',
500: '#902874',
950: '#000000',
},
}SCSS
$custom: #902874; $custom-light: #b46c9c; $custom-dark: #000000;
JSON
{
"hex": "#902874",
"rgb": {
"r": 144,
"g": 40,
"b": 116
},
"hsl": {
"h": 316.154,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.46459,
"c": 0.16143,
"h": 340.7
},
"luminance": 0.08708
}Semantic roles & 50–950 ramp
primary
#902874
secondary
#5CB875
accent
#E07148
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E