#90172C#90172C
#90172C is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 18.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #90172C |
|---|---|
| RGB | rgb(144, 23, 44) |
| HSL | hsl(350, 72%, 33%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 69.4%, 43.5%) |
| CIE-LAB | lab(31.17, 49.32, 20.70) |
| CIE-LCH | lch(31.17, 53.49, 22.76°) |
| OKLab | oklab(42.6% 0.1462 0.0486) |
| OKLCH | oklch(42.6% 0.154 18.4) |
| XYZ | xyz(12.2640, 6.7259, 3.0349) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.07
Wine Red
#7B0323
ΔE00 4.91
Cranberry
#9E003A
ΔE00 5.17
Red Wine
#8C0034
ΔE00 5.33
Rouge
#AB1239
ΔE00 5.44
Bordeaux
#7B002C
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90172C #17907B
analogous
#901768 #90172C #903F17
triadic
#90172C #2C9017 #172C90
tetradic
#90172C #689017 #17907B #3F1790
square
#90172C #689017 #17907B #3F1790
split-complementary
#90172C #17903F #176890
monochromatic
#26060C #5B0F1C #90172C #C51F3C #E1415D
Accessibility & contrast
On white
8.96
#90172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#90172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90172C
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90172C | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#9F0021
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90172c; /* rgb */ color: rgb(144, 23, 44); /* oklch */ color: oklch(42.6% 0.154 18.4);
Tailwind
colors: {
custom: {
50: '#b86364',
500: '#90172c',
950: '#000000',
},
}SCSS
$custom: #90172c; $custom-light: #b86364; $custom-dark: #000000;
JSON
{
"hex": "#90172c",
"rgb": {
"r": 144,
"g": 23,
"b": 44
},
"hsl": {
"h": 349.587,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42597,
"c": 0.15408,
"h": 18.4
},
"luminance": 0.06724
}Semantic roles & 50–950 ramp
primary
#90172C
secondary
#42C1AB
accent
#EFCF39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A