#90172B#90172B
#90172B is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 18.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #90172B |
|---|---|
| RGB | rgb(144, 23, 43) |
| HSL | hsl(350, 72%, 33%) |
| HSV | hsv(350, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 70.1%, 43.5%) |
| CIE-LAB | lab(31.16, 49.27, 21.32) |
| CIE-LCH | lch(31.16, 53.69, 23.40°) |
| OKLab | oklab(42.58% 0.1458 0.0499) |
| OKLCH | oklch(42.58% 0.154 18.9) |
| XYZ | xyz(12.2454, 6.7184, 2.9370) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.04
Wine Red
#7B0323
ΔE00 4.99
Cranberry
#9E003A
ΔE00 5.48
Rouge
#AB1239
ΔE00 5.57
Red Wine
#8C0034
ΔE00 5.66
Carmine
#9D0216
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90172B #17907C
analogous
#901767 #90172B #904017
triadic
#90172B #2B9017 #172B90
tetradic
#90172B #679017 #17907C #401790
square
#90172B #679017 #17907C #401790
split-complementary
#90172B #179040 #176790
monochromatic
#26060B #5B0F1B #90172B #C51F3B #E1415B
Accessibility & contrast
On white
8.96
#90172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#90172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90172B
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90172B | 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)
#3D392B
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#9F0020
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90172b; /* rgb */ color: rgb(144, 23, 43); /* oklch */ color: oklch(42.6% 0.154 18.9);
Tailwind
colors: {
custom: {
50: '#b86364',
500: '#90172b',
950: '#000000',
},
}SCSS
$custom: #90172b; $custom-light: #b86364; $custom-dark: #000000;
JSON
{
"hex": "#90172b",
"rgb": {
"r": 144,
"g": 23,
"b": 43
},
"hsl": {
"h": 350.083,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42579,
"c": 0.1541,
"h": 18.9
},
"luminance": 0.06717
}Semantic roles & 50–950 ramp
primary
#90172B
secondary
#42C1AC
accent
#EFD139
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79