#902870#902870
#902870 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.159 H 342.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #902870 |
|---|---|
| RGB | rgb(144, 40, 112) |
| HSL | hsl(318, 57%, 36%) |
| HSV | hsv(318, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 22.2%, 43.5%) |
| CIE-LAB | lab(35.24, 50.45, -17.61) |
| CIE-LCH | lch(35.24, 53.44, 340.76°) |
| OKLab | oklab(46.27% 0.1516 -0.0472) |
| OKLCH | oklch(46.27% 0.159 342.7) |
| XYZ | xyz(15.1855, 8.6183, 16.1898) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.14
Bruise
#7E4071
ΔE00 5.94
Warm Purple
#952E8F
ΔE00 6.37
Deep Magenta
#A0025C
ΔE00 6.59
Dark Magenta
#960056
ΔE00 6.74
Dark Fuchsia
#9D0759
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902870 #289048
analogous
#7C2890 #902870 #90283C
triadic
#902870 #709028 #287090
tetradic
#902870 #907C28 #289048 #283C90
square
#902870 #907C28 #289048 #283C90
split-complementary
#902870 #3C9028 #28907C
monochromatic
#300D25 #601B4B #902870 #C03595 #D360AF
Accessibility & contrast
On white
7.71
#902870 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#902870 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902870
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902870 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324872
Deuteranopia (green-blind)
#52596E
Tritanopia (blue-blind)
#992948
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #902870; /* rgb */ color: rgb(144, 40, 112); /* oklch */ color: oklch(46.3% 0.159 342.7);
Tailwind
colors: {
custom: {
50: '#b46b99',
500: '#902870',
950: '#000000',
},
}SCSS
$custom: #902870; $custom-light: #b46b99; $custom-dark: #000000;
JSON
{
"hex": "#902870",
"rgb": {
"r": 144,
"g": 40,
"b": 112
},
"hsl": {
"h": 318.462,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.46269,
"c": 0.15875,
"h": 342.7
},
"luminance": 0.08617
}Semantic roles & 50–950 ramp
primary
#902870
secondary
#5CB878
accent
#E07748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E