#902474#902474
#902474 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 340.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #902474 |
|---|---|
| RGB | rgb(144, 36, 116) |
| HSL | hsl(316, 60%, 35%) |
| HSV | hsv(316, 75%, 56%) |
| CMYK | cmyk(0%, 75%, 19.4%, 43.5%) |
| CIE-LAB | lab(34.91, 52.46, -20.64) |
| CIE-LCH | lch(34.91, 56.38, 338.52°) |
| OKLab | oklab(46.09% 0.1567 -0.0557) |
| OKLCH | oklch(46.09% 0.166 340.4) |
| XYZ | xyz(15.2853, 8.4535, 17.3463) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.58
Warm Purple
#952E8F
ΔE00 5.43
Bruise
#7E4071
ΔE00 6.43
Darkish Purple
#751973
ΔE00 6.74
Darkmagenta
#8B008B
ΔE00 6.93
Light Eggplant
#894585
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902474 #249040
analogous
#762490 #902474 #90243E
triadic
#902474 #749024 #247490
tetradic
#902474 #907624 #249040 #243E90
square
#902474 #907624 #249040 #243E90
split-complementary
#902474 #3E9024 #249076
monochromatic
#2E0C25 #5F184D #902474 #C1309B #D559B5
Accessibility & contrast
On white
7.81
#902474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#902474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902474
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902474 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#992749
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #902474; /* rgb */ color: rgb(144, 36, 116); /* oklch */ color: oklch(46.1% 0.166 340.4);
Tailwind
colors: {
custom: {
50: '#b46a9c',
500: '#902474',
950: '#000000',
},
}SCSS
$custom: #902474; $custom-light: #b46a9c; $custom-dark: #000000;
JSON
{
"hex": "#902474",
"rgb": {
"r": 144,
"g": 36,
"b": 116
},
"hsl": {
"h": 315.556,
"s": 60,
"l": 35.294
},
"oklch": {
"l": 0.4609,
"c": 0.16626,
"h": 340.4
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#902474
secondary
#56BA70
accent
#E36E45
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E