#902855#902855
#902855 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.144 H 358.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #902855 |
|---|---|
| RGB | rgb(144, 40, 85) |
| HSL | hsl(334, 57%, 36%) |
| HSV | hsv(334, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 41%, 43.5%) |
| CIE-LAB | lab(34.20, 47.06, -1.92) |
| CIE-LCH | lch(34.20, 47.10, 357.66°) |
| OKLab | oklab(45.17% 0.1443 -0.0044) |
| OKLCH | oklch(45.17% 0.144 358.2) |
| XYZ | xyz(13.9010, 8.1045, 9.4249) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.24
Reddish Purple
#910951
ΔE00 3.39
Dark Fuchsia
#9D0759
ΔE00 3.66
Berry
#990F4B
ΔE00 3.75
Dark Magenta
#960056
ΔE00 3.94
Deep Magenta
#A0025C
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902855 #289063
analogous
#902889 #902855 #902F28
triadic
#902855 #559028 #285590
tetradic
#902855 #899028 #289063 #2F2890
square
#902855 #899028 #289063 #2F2890
split-complementary
#902855 #28902F #288990
monochromatic
#300D1C #601B39 #902855 #C03571 #D36091
Accessibility & contrast
On white
8.01
#902855 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#902855 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902855
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902855 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902855 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#595853
Tritanopia (blue-blind)
#9C1C3B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #902855; /* rgb */ color: rgb(144, 40, 85); /* oklch */ color: oklch(45.2% 0.144 358.2);
Tailwind
colors: {
custom: {
50: '#b56b84',
500: '#902855',
950: '#000000',
},
}SCSS
$custom: #902855; $custom-light: #b56b84; $custom-dark: #000000;
JSON
{
"hex": "#902855",
"rgb": {
"r": 144,
"g": 40,
"b": 85
},
"hsl": {
"h": 334.038,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.45168,
"c": 0.14436,
"h": 358.2
},
"luminance": 0.08103
}Semantic roles & 50–950 ramp
primary
#902855
secondary
#5CB890
accent
#E09E48
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C