#90171A#90171A
#90171A is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.155 H 26.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #90171A |
|---|---|
| RGB | rgb(144, 23, 26) |
| HSL | hsl(359, 72%, 33%) |
| HSV | hsv(359, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 81.9%, 43.5%) |
| CIE-LAB | lab(30.92, 48.55, 31.68) |
| CIE-LCH | lch(30.92, 57.97, 33.12°) |
| OKLab | oklab(42.33% 0.1396 0.0684) |
| OKLCH | oklch(42.33% 0.155 26.1) |
| XYZ | xyz(11.9959, 6.6186, 1.6230) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.40
Carmine
#9D0216
ΔE00 2.56
Darkred
#8B0000
ΔE00 4.78
Indian Red
#850E04
ΔE00 4.79
Blood Red
#980002
ΔE00 4.91
Dark Red
#840000
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90171A #17908D
analogous
#901757 #90171A #905017
triadic
#90171A #1A9017 #171A90
tetradic
#90171A #579017 #17908D #501790
square
#90171A #579017 #17908D #501790
split-complementary
#90171A #179050 #175790
monochromatic
#260607 #5B0F10 #90171A #C51F24 #E14145
Accessibility & contrast
On white
9.04
#90171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#90171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90171A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90171A | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#9F001A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90171a; /* rgb */ color: rgb(144, 23, 26); /* oklch */ color: oklch(42.3% 0.155 26.1);
Tailwind
colors: {
custom: {
50: '#ba6257',
500: '#90171a',
950: '#000000',
},
}SCSS
$custom: #90171a; $custom-light: #ba6257; $custom-dark: #000000;
JSON
{
"hex": "#90171a",
"rgb": {
"r": 144,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.512,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.4233,
"c": 0.15541,
"h": 26.1
},
"luminance": 0.06617
}Semantic roles & 50–950 ramp
primary
#90171A
secondary
#42C1BE
accent
#EFEB39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78