#902042#902042
#902042 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.148 H 8.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #902042 |
|---|---|
| RGB | rgb(144, 32, 66) |
| HSL | hsl(342, 64%, 35%) |
| HSV | hsv(342, 78%, 56%) |
| CMYK | cmyk(0%, 77.8%, 54.2%, 43.5%) |
| CIE-LAB | lab(32.61, 48.12, 8.17) |
| CIE-LCH | lch(32.61, 48.81, 9.64°) |
| OKLab | oklab(43.81% 0.1465 0.021) |
| OKLCH | oklch(43.81% 0.148 8.1) |
| XYZ | xyz(13.0027, 7.3575, 5.8887) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.46
Berry
#990F4B
ΔE00 3.59
Red Wine
#8C0034
ΔE00 3.71
Cranberry
#9E003A
ΔE00 3.87
Mulberry
#920A4E
ΔE00 5.39
Raspberry (survey)
#B00149
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902042 #20906E
analogous
#90207A #902042 #903620
triadic
#902042 #429020 #204290
tetradic
#902042 #7A9020 #20906E #362090
square
#902042 #7A9020 #20906E #362090
split-complementary
#902042 #209036 #207A90
monochromatic
#2C0A14 #5E152B #902042 #C22B59 #D9527B
Accessibility & contrast
On white
8.50
#902042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#902042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902042
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902042 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#9D002E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #902042; /* rgb */ color: rgb(144, 32, 66); /* oklch */ color: oklch(43.8% 0.148 8.1);
Tailwind
colors: {
custom: {
50: '#b66776',
500: '#902042',
950: '#000000',
},
}SCSS
$custom: #902042; $custom-light: #b66776; $custom-dark: #000000;
JSON
{
"hex": "#902042",
"rgb": {
"r": 144,
"g": 32,
"b": 66
},
"hsl": {
"h": 341.786,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.43811,
"c": 0.14798,
"h": 8.1
},
"luminance": 0.07356
}Semantic roles & 50–950 ramp
primary
#902042
secondary
#50BC9B
accent
#E7B441
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B