#902847#902847
#902847 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.140 H 7.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #902847 |
|---|---|
| RGB | rgb(144, 40, 71) |
| HSL | hsl(342, 57%, 36%) |
| HSV | hsv(342, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 50.7%, 43.5%) |
| CIE-LAB | lab(33.78, 45.65, 6.56) |
| CIE-LCH | lch(33.78, 46.12, 8.18°) |
| OKLab | oklab(44.72% 0.1391 0.0171) |
| OKLCH | oklch(44.72% 0.14 7) |
| XYZ | xyz(13.3989, 7.9036, 6.7800) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.67
Purple Red
#990147
ΔE00 3.94
Cranberry
#9E003A
ΔE00 4.96
Red Wine
#8C0034
ΔE00 5.12
Mulberry
#920A4E
ΔE00 5.34
Violet Red
#A50055
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902847 #289071
analogous
#90287B #902847 #903D28
triadic
#902847 #479028 #284790
tetradic
#902847 #7B9028 #289071 #3D2890
square
#902847 #7B9028 #289071 #3D2890
split-complementary
#902847 #28903D #287B90
monochromatic
#300D18 #601B2F #902847 #C0355F #D36082
Accessibility & contrast
On white
8.14
#902847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#902847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902847
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902847 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5C5745
Tritanopia (blue-blind)
#9D1435
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #902847; /* rgb */ color: rgb(144, 40, 71); /* oklch */ color: oklch(44.7% 0.140 7.0);
Tailwind
colors: {
custom: {
50: '#b66a7a',
500: '#902847',
950: '#000000',
},
}SCSS
$custom: #902847; $custom-light: #b66a7a; $custom-dark: #000000;
JSON
{
"hex": "#902847",
"rgb": {
"r": 144,
"g": 40,
"b": 71
},
"hsl": {
"h": 342.115,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.44722,
"c": 0.14017,
"h": 7
},
"luminance": 0.07902
}Semantic roles & 50–950 ramp
primary
#902847
secondary
#5CB89D
accent
#E0B348
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B