#90171C#90171C
#90171C is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 25.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #90171C |
|---|---|
| RGB | rgb(144, 23, 28) |
| HSL | hsl(358, 72%, 33%) |
| HSV | hsv(358, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 80.6%, 43.5%) |
| CIE-LAB | lab(30.94, 48.62, 30.52) |
| CIE-LCH | lch(30.94, 57.40, 32.11°) |
| OKLab | oklab(42.35% 0.1402 0.0665) |
| OKLCH | oklch(42.35% 0.155 25.4) |
| XYZ | xyz(12.0191, 6.6279, 1.7449) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.76
Carmine
#9D0216
ΔE00 2.77
Indian Red
#850E04
ΔE00 5.34
Darkred
#8B0000
ΔE00 5.34
Brown
#A52A2A
ΔE00 5.38
Blood Red
#980002
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90171C #17908B
analogous
#901758 #90171C #904F17
triadic
#90171C #1C9017 #171C90
tetradic
#90171C #589017 #17908B #4F1790
square
#90171C #589017 #17908B #4F1790
split-complementary
#90171C #17904F #175890
monochromatic
#260607 #5B0F12 #90171C #C51F26 #E14147
Accessibility & contrast
On white
9.03
#90171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#90171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90171C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90171C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F381B
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#9F001B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90171c; /* rgb */ color: rgb(144, 23, 28); /* oklch */ color: oklch(42.4% 0.155 25.4);
Tailwind
colors: {
custom: {
50: '#b96258',
500: '#90171c',
950: '#000000',
},
}SCSS
$custom: #90171c; $custom-light: #b96258; $custom-dark: #000000;
JSON
{
"hex": "#90171c",
"rgb": {
"r": 144,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.521,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42354,
"c": 0.15519,
"h": 25.4
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#90171C
secondary
#42C1BC
accent
#EFE839
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78