#90171F#90171F
#90171F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 24.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #90171F |
|---|---|
| RGB | rgb(144, 23, 31) |
| HSL | hsl(356, 72%, 33%) |
| HSV | hsv(356, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 78.5%, 43.5%) |
| CIE-LAB | lab(30.98, 48.73, 28.73) |
| CIE-LCH | lch(30.98, 56.57, 30.53°) |
| OKLab | oklab(42.39% 0.1412 0.0636) |
| OKLCH | oklch(42.39% 0.155 24.2) |
| XYZ | xyz(12.0568, 6.6430, 1.9435) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.31
Crimson (survey)
#8C000F
ΔE00 3.46
Brown
#A52A2A
ΔE00 5.39
Burgundy
#800020
ΔE00 5.62
Indian Red
#850E04
ΔE00 6.22
Darkred
#8B0000
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90171F #179088
analogous
#90175B #90171F #904B17
triadic
#90171F #1F9017 #171F90
tetradic
#90171F #5B9017 #179088 #4B1790
square
#90171F #5B9017 #179088 #4B1790
split-complementary
#90171F #17904B #175B90
monochromatic
#260608 #5B0F14 #90171F #C51F2A #E1414B
Accessibility & contrast
On white
9.02
#90171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#90171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90171F
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90171F | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#9F001C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90171f; /* rgb */ color: rgb(144, 23, 31); /* oklch */ color: oklch(42.4% 0.155 24.2);
Tailwind
colors: {
custom: {
50: '#b9625b',
500: '#90171f',
950: '#000000',
},
}SCSS
$custom: #90171f; $custom-light: #b9625b; $custom-dark: #000000;
JSON
{
"hex": "#90171f",
"rgb": {
"r": 144,
"g": 23,
"b": 31
},
"hsl": {
"h": 356.033,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42391,
"c": 0.15488,
"h": 24.2
},
"luminance": 0.06641
}Semantic roles & 50–950 ramp
primary
#90171F
secondary
#42C1B9
accent
#EFE339
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79