#902142#902142
#902142 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 8.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #902142 |
|---|---|
| RGB | rgb(144, 33, 66) |
| HSL | hsl(342, 63%, 35%) |
| HSV | hsv(342, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 54.2%, 43.5%) |
| CIE-LAB | lab(32.73, 47.78, 8.34) |
| CIE-LCH | lch(32.73, 48.50, 9.90°) |
| OKLab | oklab(43.9% 0.1454 0.0214) |
| OKLCH | oklch(43.9% 0.147 8.4) |
| XYZ | xyz(13.0300, 7.4122, 5.8978) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.61
Berry
#990F4B
ΔE00 3.73
Red Wine
#8C0034
ΔE00 3.77
Cranberry
#9E003A
ΔE00 3.87
Mulberry
#920A4E
ΔE00 5.55
Raspberry (survey)
#B00149
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902142 #21906F
analogous
#90217A #902142 #903721
triadic
#902142 #429021 #214290
tetradic
#902142 #7A9021 #21906F #372190
square
#902142 #7A9021 #21906F #372190
split-complementary
#902142 #219037 #217A90
monochromatic
#2C0A14 #5E162B #902142 #C22C59 #D8547B
Accessibility & contrast
On white
8.46
#902142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#902142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902142
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902142 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3F43
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#9D012F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #902142; /* rgb */ color: rgb(144, 33, 66); /* oklch */ color: oklch(43.9% 0.147 8.4);
Tailwind
colors: {
custom: {
50: '#b66776',
500: '#902142',
950: '#000000',
},
}SCSS
$custom: #902142; $custom-light: #b66776; $custom-dark: #000000;
JSON
{
"hex": "#902142",
"rgb": {
"r": 144,
"g": 33,
"b": 66
},
"hsl": {
"h": 342.162,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.43899,
"c": 0.14696,
"h": 8.4
},
"luminance": 0.0741
}Semantic roles & 50–950 ramp
primary
#902142
secondary
#51BB9C
accent
#E6B542
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B