#902170#902170
#902170 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 342.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #902170 |
|---|---|
| RGB | rgb(144, 33, 112) |
| HSL | hsl(317, 63%, 35%) |
| HSV | hsv(317, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 22.2%, 43.5%) |
| CIE-LAB | lab(34.37, 52.90, -18.95) |
| CIE-LCH | lch(34.37, 56.19, 340.29°) |
| OKLab | oklab(45.64% 0.1591 -0.0509) |
| OKLCH | oklch(45.64% 0.167 342.3) |
| XYZ | xyz(14.9706, 8.1884, 16.1182) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.87
Warm Purple
#952E8F
ΔE00 6.31
Deep Magenta
#A0025C
ΔE00 6.64
Dark Magenta
#960056
ΔE00 6.65
Bruise
#7E4071
ΔE00 6.72
Dark Fuchsia
#9D0759
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902170 #219041
analogous
#782190 #902170 #902139
triadic
#902170 #709021 #217090
tetradic
#902170 #907821 #219041 #213990
square
#902170 #907821 #219041 #213990
split-complementary
#902170 #399021 #219078
monochromatic
#2C0A23 #5E1649 #902170 #C22C97 #D854B2
Accessibility & contrast
On white
7.96
#902170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#902170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902170
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902170 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#4F576D
Tritanopia (blue-blind)
#992246
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902170; /* rgb */ color: rgb(144, 33, 112); /* oklch */ color: oklch(45.6% 0.167 342.3);
Tailwind
colors: {
custom: {
50: '#b46899',
500: '#902170',
950: '#000000',
},
}SCSS
$custom: #902170; $custom-light: #b46899; $custom-dark: #000000;
JSON
{
"hex": "#902170",
"rgb": {
"r": 144,
"g": 33,
"b": 112
},
"hsl": {
"h": 317.297,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.4564,
"c": 0.16701,
"h": 342.3
},
"luminance": 0.08187
}Semantic roles & 50–950 ramp
primary
#902170
secondary
#51BB70
accent
#E67142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E