#902A48#902A48
#902A48 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.138 H 6.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #902A48 |
|---|---|
| RGB | rgb(144, 42, 72) |
| HSL | hsl(342, 55%, 36%) |
| HSV | hsv(342, 71%, 56%) |
| CMYK | cmyk(0%, 70.8%, 50%, 43.5%) |
| CIE-LAB | lab(34.10, 44.94, 6.36) |
| CIE-LCH | lch(34.10, 45.39, 8.05°) |
| OKLab | oklab(44.97% 0.137 0.0166) |
| OKLCH | oklch(44.97% 0.138 6.9) |
| XYZ | xyz(13.5004, 8.0549, 6.9735) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.87
Purple Red
#990147
ΔE00 4.20
Cranberry
#9E003A
ΔE00 5.22
Red Wine
#8C0034
ΔE00 5.45
Mulberry
#920A4E
ΔE00 5.49
Purplish Red
#B0054B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902A48 #2A9072
analogous
#902A7B #902A48 #903F2A
triadic
#902A48 #48902A #2A4890
tetradic
#902A48 #7B902A #2A9072 #3F2A90
square
#902A48 #7B902A #2A9072 #3F2A90
split-complementary
#902A48 #2A903F #2A7B90
monochromatic
#310E19 #611C30 #902A48 #BF3860 #D16383
Accessibility & contrast
On white
8.04
#902A48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#902A48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902A48
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902A48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902A48 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#5C5846
Tritanopia (blue-blind)
#9D1836
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #902a48; /* rgb */ color: rgb(144, 42, 72); /* oklch */ color: oklch(45.0% 0.138 6.9);
Tailwind
colors: {
custom: {
50: '#b56b7a',
500: '#902a48',
950: '#000000',
},
}SCSS
$custom: #902a48; $custom-light: #b56b7a; $custom-dark: #000000;
JSON
{
"hex": "#902a48",
"rgb": {
"r": 144,
"g": 42,
"b": 72
},
"hsl": {
"h": 342.353,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.44965,
"c": 0.13797,
"h": 6.9
},
"luminance": 0.08053
}Semantic roles & 50–950 ramp
primary
#902A48
secondary
#5EB79D
accent
#DEB24A
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120709
muted
#817A7B