#902858#902858
#902858 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 356.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #902858 |
|---|---|
| RGB | rgb(144, 40, 88) |
| HSL | hsl(332, 57%, 36%) |
| HSV | hsv(332, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 38.9%, 43.5%) |
| CIE-LAB | lab(34.30, 47.39, -3.71) |
| CIE-LCH | lch(34.30, 47.54, 355.52°) |
| OKLab | oklab(45.27% 0.1453 -0.0092) |
| OKLCH | oklch(45.27% 0.146 356.4) |
| XYZ | xyz(14.0228, 8.1531, 10.0659) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.32
Dark Fuchsia
#9D0759
ΔE00 3.43
Mulberry
#920A4E
ΔE00 3.45
Dark Magenta
#960056
ΔE00 3.65
Deep Magenta
#A0025C
ΔE00 3.90
Berry
#990F4B
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902858 #289060
analogous
#90288C #902858 #902C28
triadic
#902858 #589028 #285890
tetradic
#902858 #8C9028 #289060 #2C2890
square
#902858 #8C9028 #289060 #2C2890
split-complementary
#902858 #28902C #288C90
monochromatic
#300D1D #601B3B #902858 #C03575 #D36095
Accessibility & contrast
On white
7.98
#902858 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#902858 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902858
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902858 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4459
Deuteranopia (green-blind)
#585856
Tritanopia (blue-blind)
#9C1D3C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902858; /* rgb */ color: rgb(144, 40, 88); /* oklch */ color: oklch(45.3% 0.146 356.4);
Tailwind
colors: {
custom: {
50: '#b56b87',
500: '#902858',
950: '#000000',
},
}SCSS
$custom: #902858; $custom-light: #b56b87; $custom-dark: #000000;
JSON
{
"hex": "#902858",
"rgb": {
"r": 144,
"g": 40,
"b": 88
},
"hsl": {
"h": 332.308,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.45274,
"c": 0.14558,
"h": 356.4
},
"luminance": 0.08151
}Semantic roles & 50–950 ramp
primary
#902858
secondary
#5CB88D
accent
#E09A48
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C