#90172D#90172D
#90172D is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 17.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #90172D |
|---|---|
| RGB | rgb(144, 23, 45) |
| HSL | hsl(349, 72%, 33%) |
| HSV | hsv(349, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 68.7%, 43.5%) |
| CIE-LAB | lab(31.19, 49.37, 20.07) |
| CIE-LCH | lch(31.19, 53.30, 22.12°) |
| OKLab | oklab(42.62% 0.1466 0.0474) |
| OKLCH | oklch(42.62% 0.154 17.9) |
| XYZ | xyz(12.2830, 6.7335, 3.1351) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.13
Wine Red
#7B0323
ΔE00 4.85
Cranberry
#9E003A
ΔE00 4.87
Red Wine
#8C0034
ΔE00 5.00
Rouge
#AB1239
ΔE00 5.34
Bordeaux
#7B002C
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90172D #17907A
analogous
#901769 #90172D #903E17
triadic
#90172D #2D9017 #172D90
tetradic
#90172D #699017 #17907A #3E1790
square
#90172D #699017 #17907A #3E1790
split-complementary
#90172D #17903E #176990
monochromatic
#26060C #5B0F1D #90172D #C51F3D #E1415E
Accessibility & contrast
On white
8.95
#90172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#90172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90172D
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90172D | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D392D
Deuteranopia (green-blind)
#5B5229
Tritanopia (blue-blind)
#9F0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90172d; /* rgb */ color: rgb(144, 23, 45); /* oklch */ color: oklch(42.6% 0.154 17.9);
Tailwind
colors: {
custom: {
50: '#b86365',
500: '#90172d',
950: '#000000',
},
}SCSS
$custom: #90172d; $custom-light: #b86365; $custom-dark: #000000;
JSON
{
"hex": "#90172d",
"rgb": {
"r": 144,
"g": 23,
"b": 45
},
"hsl": {
"h": 349.091,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42616,
"c": 0.15407,
"h": 17.9
},
"luminance": 0.06732
}Semantic roles & 50–950 ramp
primary
#90172D
secondary
#42C1AA
accent
#EFCE39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A