#902157#902157
#902157 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.153 H 355.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #902157 |
|---|---|
| RGB | rgb(144, 33, 87) |
| HSL | hsl(331, 63%, 35%) |
| HSV | hsv(331, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 39.6%, 43.5%) |
| CIE-LAB | lab(33.36, 49.80, -4.45) |
| CIE-LCH | lch(33.36, 50.00, 354.89°) |
| OKLab | oklab(44.58% 0.153 -0.0111) |
| OKLCH | oklch(44.58% 0.153 355.9) |
| XYZ | xyz(13.7667, 7.7068, 9.7776) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.32
Dark Magenta
#960056
ΔE00 2.61
Mulberry
#920A4E
ΔE00 2.68
Dark Fuchsia
#9D0759
ΔE00 2.74
Deep Magenta
#A0025C
ΔE00 3.26
Berry
#990F4B
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902157 #21905A
analogous
#90218F #902157 #902321
triadic
#902157 #579021 #215790
tetradic
#902157 #8F9021 #21905A #232190
square
#902157 #8F9021 #21905A #232190
split-complementary
#902157 #219023 #218F90
monochromatic
#2C0A1B #5E1639 #902157 #C22C75 #D85494
Accessibility & contrast
On white
8.26
#902157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#902157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902157
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902157 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384158
Deuteranopia (green-blind)
#565654
Tritanopia (blue-blind)
#9C1339
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #902157; /* rgb */ color: rgb(144, 33, 87); /* oklch */ color: oklch(44.6% 0.153 355.9);
Tailwind
colors: {
custom: {
50: '#b56886',
500: '#902157',
950: '#000000',
},
}SCSS
$custom: #902157; $custom-light: #b56886; $custom-dark: #000000;
JSON
{
"hex": "#902157",
"rgb": {
"r": 144,
"g": 33,
"b": 87
},
"hsl": {
"h": 330.811,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.44576,
"c": 0.15338,
"h": 355.9
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#902157
secondary
#51BB88
accent
#E69642
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C