#902872#902872
#902872 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 341.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #902872 |
|---|---|
| RGB | rgb(144, 40, 114) |
| HSL | hsl(317, 57%, 36%) |
| HSV | hsv(317, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 20.8%, 43.5%) |
| CIE-LAB | lab(35.33, 50.74, -18.74) |
| CIE-LCH | lch(35.33, 54.09, 339.73°) |
| OKLab | oklab(46.36% 0.152 -0.0503) |
| OKLCH | oklch(46.36% 0.16 341.7) |
| XYZ | xyz(15.2981, 8.6633, 16.7828) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Warm Purple
#952E8F
ΔE00 5.90
Bruise
#7E4071
ΔE00 5.92
Light Eggplant
#894585
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 6.98
Dark Magenta
#960056
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902872 #289046
analogous
#7A2890 #902872 #90283E
triadic
#902872 #729028 #287290
tetradic
#902872 #907A28 #289046 #283E90
square
#902872 #907A28 #289046 #283E90
split-complementary
#902872 #3E9028 #28907A
monochromatic
#300D26 #601B4C #902872 #C03598 #D360B2
Accessibility & contrast
On white
7.69
#902872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#902872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902872
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902872 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#992A49
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #902872; /* rgb */ color: rgb(144, 40, 114); /* oklch */ color: oklch(46.4% 0.160 341.7);
Tailwind
colors: {
custom: {
50: '#b46c9a',
500: '#902872',
950: '#000000',
},
}SCSS
$custom: #902872; $custom-light: #b46c9a; $custom-dark: #000000;
JSON
{
"hex": "#902872",
"rgb": {
"r": 144,
"g": 40,
"b": 114
},
"hsl": {
"h": 317.308,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.46363,
"c": 0.16007,
"h": 341.7
},
"luminance": 0.08662
}Semantic roles & 50–950 ramp
primary
#902872
secondary
#5CB876
accent
#E07448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E