#902838#902838
#902838 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.3% C 0.139 H 16.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #902838 |
|---|---|
| RGB | rgb(144, 40, 56) |
| HSL | hsl(351, 57%, 36%) |
| HSV | hsv(351, 72%, 56%) |
| CMYK | cmyk(0%, 72.2%, 61.1%, 43.5%) |
| CIE-LAB | lab(33.42, 44.42, 15.81) |
| CIE-LCH | lch(33.42, 47.15, 19.59°) |
| OKLab | oklab(44.34% 0.133 0.0387) |
| OKLCH | oklch(44.34% 0.139 16.2) |
| XYZ | xyz(12.9755, 7.7342, 4.5502) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.61
Rouge
#AB1239
ΔE00 5.10
Red Wine
#8C0034
ΔE00 5.25
Burgundy
#800020
ΔE00 6.46
Wine
#722F37
ΔE00 6.51
Wine Red
#7B0323
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902838 #289080
analogous
#90286C #902838 #904C28
triadic
#902838 #389028 #283890
tetradic
#902838 #6C9028 #289080 #4C2890
square
#902838 #6C9028 #289080 #4C2890
split-complementary
#902838 #28904C #286C90
monochromatic
#300D13 #601B25 #902838 #C0354B #D36071
Accessibility & contrast
On white
8.25
#902838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#902838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902838
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902838 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#9E0C2F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #902838; /* rgb */ color: rgb(144, 40, 56); /* oklch */ color: oklch(44.3% 0.139 16.2);
Tailwind
colors: {
custom: {
50: '#b76a6e',
500: '#902838',
950: '#000000',
},
}SCSS
$custom: #902838; $custom-light: #b76a6e; $custom-dark: #000000;
JSON
{
"hex": "#902838",
"rgb": {
"r": 144,
"g": 40,
"b": 56
},
"hsl": {
"h": 350.769,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.44339,
"c": 0.13853,
"h": 16.2
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#902838
secondary
#5CB8AA
accent
#E0C848
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120707
muted
#817A7A