#90172E#90172E
#90172E is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 17.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #90172E |
|---|---|
| RGB | rgb(144, 23, 46) |
| HSL | hsl(349, 72%, 33%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 68.1%, 43.5%) |
| CIE-LAB | lab(31.21, 49.43, 19.44) |
| CIE-LCH | lch(31.21, 53.11, 21.47°) |
| OKLab | oklab(42.64% 0.147 0.0461) |
| OKLCH | oklch(42.64% 0.154 17.4) |
| XYZ | xyz(12.3025, 6.7413, 3.2377) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.23
Cranberry
#9E003A
ΔE00 4.57
Red Wine
#8C0034
ΔE00 4.68
Wine Red
#7B0323
ΔE00 4.82
Rouge
#AB1239
ΔE00 5.26
Bordeaux
#7B002C
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90172E #179079
analogous
#90176A #90172E #903C17
triadic
#90172E #2E9017 #172E90
tetradic
#90172E #6A9017 #179079 #3C1790
square
#90172E #6A9017 #179079 #3C1790
split-complementary
#90172E #17903C #176A90
monochromatic
#26060C #5B0F1D #90172E #C51F3F #E1415F
Accessibility & contrast
On white
8.94
#90172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#90172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90172E
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90172E | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#5B522A
Tritanopia (blue-blind)
#9F0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90172e; /* rgb */ color: rgb(144, 23, 46); /* oklch */ color: oklch(42.6% 0.154 17.4);
Tailwind
colors: {
custom: {
50: '#b86366',
500: '#90172e',
950: '#000000',
},
}SCSS
$custom: #90172e; $custom-light: #b86366; $custom-dark: #000000;
JSON
{
"hex": "#90172e",
"rgb": {
"r": 144,
"g": 23,
"b": 46
},
"hsl": {
"h": 348.595,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42636,
"c": 0.15406,
"h": 17.4
},
"luminance": 0.06739
}Semantic roles & 50–950 ramp
primary
#90172E
secondary
#42C1A9
accent
#EFCC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A