#902958#902958
#902958 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.144 H 356.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #902958 |
|---|---|
| RGB | rgb(144, 41, 88) |
| HSL | hsl(333, 56%, 36%) |
| HSV | hsv(333, 72%, 56%) |
| CMYK | cmyk(0%, 71.5%, 38.9%, 43.5%) |
| CIE-LAB | lab(34.44, 47.00, -3.50) |
| CIE-LCH | lch(34.44, 47.13, 355.74°) |
| OKLab | oklab(45.38% 0.1441 -0.0086) |
| OKLCH | oklch(45.38% 0.144 356.6) |
| XYZ | xyz(14.0569, 8.2214, 10.0773) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.49
Dark Fuchsia
#9D0759
ΔE00 3.56
Mulberry
#920A4E
ΔE00 3.57
Dark Magenta
#960056
ΔE00 3.82
Deep Magenta
#A0025C
ΔE00 4.03
Berry
#990F4B
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902958 #299061
analogous
#90298C #902958 #902D29
triadic
#902958 #589029 #295890
tetradic
#902958 #8C9029 #299061 #2D2990
square
#902958 #8C9029 #299061 #2D2990
split-complementary
#902958 #29902D #298C90
monochromatic
#310E1E #601B3B #902958 #C03775 #D26195
Accessibility & contrast
On white
7.94
#902958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#902958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902958
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902958 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4559
Deuteranopia (green-blind)
#595856
Tritanopia (blue-blind)
#9C1E3D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902958; /* rgb */ color: rgb(144, 41, 88); /* oklch */ color: oklch(45.4% 0.144 356.6);
Tailwind
colors: {
custom: {
50: '#b56b87',
500: '#902958',
950: '#000000',
},
}SCSS
$custom: #902958; $custom-light: #b56b87; $custom-dark: #000000;
JSON
{
"hex": "#902958",
"rgb": {
"r": 144,
"g": 41,
"b": 88
},
"hsl": {
"h": 332.621,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.45377,
"c": 0.14431,
"h": 356.6
},
"luminance": 0.0822
}Semantic roles & 50–950 ramp
primary
#902958
secondary
#5DB88E
accent
#DF9A49
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C