#902074#902074
#902074 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.171 H 340.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #902074 |
|---|---|
| RGB | rgb(144, 32, 116) |
| HSL | hsl(315, 64%, 35%) |
| HSV | hsv(315, 78%, 56%) |
| CMYK | cmyk(0%, 77.8%, 19.4%, 43.5%) |
| CIE-LAB | lab(34.45, 53.78, -21.36) |
| CIE-LCH | lch(34.45, 57.87, 338.33°) |
| OKLab | oklab(45.76% 0.1607 -0.0577) |
| OKLCH | oklch(45.76% 0.171 340.3) |
| XYZ | xyz(15.1709, 8.2248, 17.3082) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.49
Darkish Purple
#751973
ΔE00 6.42
Darkmagenta
#8B008B
ΔE00 6.54
Purple
#800080
ΔE00 6.83
Barney Purple
#A00498
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902074 #20903C
analogous
#742090 #902074 #90203C
triadic
#902074 #749020 #207490
tetradic
#902074 #907420 #20903C #203C90
square
#902074 #907420 #20903C #203C90
split-complementary
#902074 #3C9020 #209074
monochromatic
#2C0A23 #5E154C #902074 #C22B9C #D952B7
Accessibility & contrast
On white
7.94
#902074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#902074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902074
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902074 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#992448
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902074; /* rgb */ color: rgb(144, 32, 116); /* oklch */ color: oklch(45.8% 0.171 340.3);
Tailwind
colors: {
custom: {
50: '#b4689c',
500: '#902074',
950: '#000000',
},
}SCSS
$custom: #902074; $custom-light: #b4689c; $custom-dark: #000000;
JSON
{
"hex": "#902074",
"rgb": {
"r": 144,
"g": 32,
"b": 116
},
"hsl": {
"h": 315,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.45755,
"c": 0.17071,
"h": 340.3
},
"luminance": 0.08223
}Semantic roles & 50–950 ramp
primary
#902074
secondary
#50BC6B
accent
#E76B41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E