#90171B#90171B
#90171B is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.155 H 25.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #90171B |
|---|---|
| RGB | rgb(144, 23, 27) |
| HSL | hsl(358, 72%, 33%) |
| HSV | hsv(358, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 81.3%, 43.5%) |
| CIE-LAB | lab(30.93, 48.59, 31.10) |
| CIE-LCH | lch(30.93, 57.69, 32.62°) |
| OKLab | oklab(42.34% 0.1399 0.0675) |
| OKLCH | oklch(42.34% 0.155 25.7) |
| XYZ | xyz(12.0073, 6.6232, 1.6829) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.57
Carmine
#9D0216
ΔE00 2.65
Darkred
#8B0000
ΔE00 5.06
Indian Red
#850E04
ΔE00 5.06
Blood Red
#980002
ΔE00 5.20
Dark Red
#840000
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90171B #17908C
analogous
#901757 #90171B #905017
triadic
#90171B #1B9017 #171B90
tetradic
#90171B #579017 #17908C #501790
square
#90171B #579017 #17908C #501790
split-complementary
#90171B #179050 #175790
monochromatic
#260607 #5B0F11 #90171B #C51F25 #E14146
Accessibility & contrast
On white
9.04
#90171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#90171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90171B
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90171B | 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)
#3F381A
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#9F001A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90171b; /* rgb */ color: rgb(144, 23, 27); /* oklch */ color: oklch(42.3% 0.155 25.7);
Tailwind
colors: {
custom: {
50: '#b96258',
500: '#90171b',
950: '#000000',
},
}SCSS
$custom: #90171b; $custom-light: #b96258; $custom-dark: #000000;
JSON
{
"hex": "#90171b",
"rgb": {
"r": 144,
"g": 23,
"b": 27
},
"hsl": {
"h": 358.017,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42342,
"c": 0.15529,
"h": 25.7
},
"luminance": 0.06621
}Semantic roles & 50–950 ramp
primary
#90171B
secondary
#42C1BD
accent
#EFE939
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78