#902038#902038
#902038 is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 14.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #902038 |
|---|---|
| RGB | rgb(144, 32, 56) |
| HSL | hsl(347, 64%, 35%) |
| HSV | hsv(347, 78%, 56%) |
| CMYK | cmyk(0%, 77.8%, 61.1%, 43.5%) |
| CIE-LAB | lab(32.37, 47.35, 14.40) |
| CIE-LCH | lch(32.37, 49.50, 16.92°) |
| OKLab | oklab(43.56% 0.1424 0.0354) |
| OKLCH | oklch(43.56% 0.147 14) |
| XYZ | xyz(12.7332, 7.2497, 4.4695) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.31
Red Wine
#8C0034
ΔE00 3.58
Rouge
#AB1239
ΔE00 5.20
Bordeaux
#7B002C
ΔE00 5.88
Wine Red
#7B0323
ΔE00 5.99
Burgundy
#800020
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902038 #209078
analogous
#902070 #902038 #904020
triadic
#902038 #389020 #203890
tetradic
#902038 #709020 #209078 #402090
square
#902038 #709020 #209078 #402090
split-complementary
#902038 #209040 #207090
monochromatic
#2C0A11 #5E1525 #902038 #C22B4B #D9526F
Accessibility & contrast
On white
8.57
#902038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#902038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902038
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902038 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#5C5435
Tritanopia (blue-blind)
#9E002A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #902038; /* rgb */ color: rgb(144, 32, 56); /* oklch */ color: oklch(43.6% 0.147 14.0);
Tailwind
colors: {
custom: {
50: '#b7666e',
500: '#902038',
950: '#000000',
},
}SCSS
$custom: #902038; $custom-light: #b7666e; $custom-dark: #000000;
JSON
{
"hex": "#902038",
"rgb": {
"r": 144,
"g": 32,
"b": 56
},
"hsl": {
"h": 347.143,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.43557,
"c": 0.14676,
"h": 14
},
"luminance": 0.07248
}Semantic roles & 50–950 ramp
primary
#902038
secondary
#50BCA5
accent
#E7C341
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A