#902840#902840
#902840 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.139 H 11.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #902840 |
|---|---|
| RGB | rgb(144, 40, 64) |
| HSL | hsl(346, 57%, 36%) |
| HSV | hsv(346, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 55.6%, 43.5%) |
| CIE-LAB | lab(33.60, 45.04, 10.86) |
| CIE-LCH | lch(33.60, 46.33, 13.56°) |
| OKLab | oklab(44.53% 0.1363 0.0274) |
| OKLCH | oklch(44.53% 0.139 11.4) |
| XYZ | xyz(13.1870, 7.8188, 5.6643) |
| Luminance | 0.0782 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.96
Red Wine
#8C0034
ΔE00 4.41
Purple Red
#990147
ΔE00 5.43
Berry
#990F4B
ΔE00 5.53
Rouge
#AB1239
ΔE00 6.01
Raspberry (survey)
#B00149
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902840 #289078
analogous
#902874 #902840 #904428
triadic
#902840 #409028 #284090
tetradic
#902840 #749028 #289078 #442890
square
#902840 #749028 #289078 #442890
split-complementary
#902840 #289044 #287490
monochromatic
#300D15 #601B2B #902840 #C03555 #D3607A
Accessibility & contrast
On white
8.19
#902840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#902840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902840
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902840 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#9D1132
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #902840; /* rgb */ color: rgb(144, 40, 64); /* oklch */ color: oklch(44.5% 0.139 11.4);
Tailwind
colors: {
custom: {
50: '#b66a74',
500: '#902840',
950: '#000000',
},
}SCSS
$custom: #902840; $custom-light: #b66a74; $custom-dark: #000000;
JSON
{
"hex": "#902840",
"rgb": {
"r": 144,
"g": 40,
"b": 64
},
"hsl": {
"h": 346.154,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.44531,
"c": 0.13905,
"h": 11.4
},
"luminance": 0.07817
}Semantic roles & 50–950 ramp
primary
#902840
secondary
#5CB8A3
accent
#E0BD48
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B