#902974#902974
#902974 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.160 H 340.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #902974 |
|---|---|
| RGB | rgb(144, 41, 116) |
| HSL | hsl(316, 56%, 36%) |
| HSV | hsv(316, 72%, 56%) |
| CMYK | cmyk(0%, 71.5%, 19.4%, 43.5%) |
| CIE-LAB | lab(35.55, 50.65, -19.65) |
| CIE-LCH | lch(35.55, 54.33, 338.80°) |
| OKLab | oklab(46.56% 0.1512 -0.0529) |
| OKLCH | oklch(46.56% 0.16 340.7) |
| XYZ | xyz(15.4474, 8.7776, 17.4003) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.75
Warm Purple
#952E8F
ΔE00 5.46
Bruise
#7E4071
ΔE00 5.82
Light Eggplant
#894585
ΔE00 6.46
Darkish Purple
#751973
ΔE00 7.25
Deep Magenta
#A0025C
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902974 #299045
analogous
#792990 #902974 #902941
triadic
#902974 #749029 #297490
tetradic
#902974 #907929 #299045 #294190
square
#902974 #907929 #299045 #294190
split-complementary
#902974 #419029 #299079
monochromatic
#310E27 #601B4E #902974 #C0379A #D261B3
Accessibility & contrast
On white
7.62
#902974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#902974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902974
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902974 | 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)
#304976
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#992B4B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #902974; /* rgb */ color: rgb(144, 41, 116); /* oklch */ color: oklch(46.6% 0.160 340.7);
Tailwind
colors: {
custom: {
50: '#b46c9c',
500: '#902974',
950: '#000000',
},
}SCSS
$custom: #902974; $custom-light: #b46c9c; $custom-dark: #000000;
JSON
{
"hex": "#902974",
"rgb": {
"r": 144,
"g": 41,
"b": 116
},
"hsl": {
"h": 316.311,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.46556,
"c": 0.16016,
"h": 340.7
},
"luminance": 0.08776
}Semantic roles & 50–950 ramp
primary
#902974
secondary
#5DB876
accent
#DF7249
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E