#90172F#90172F
#90172F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.7% C 0.154 H 16.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #90172F |
|---|---|
| RGB | rgb(144, 23, 47) |
| HSL | hsl(348, 72%, 33%) |
| HSV | hsv(348, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 67.4%, 43.5%) |
| CIE-LAB | lab(31.23, 49.49, 18.81) |
| CIE-LCH | lch(31.23, 52.94, 20.81°) |
| OKLab | oklab(42.66% 0.1474 0.0448) |
| OKLCH | oklch(42.66% 0.154 16.9) |
| XYZ | xyz(12.3225, 6.7492, 3.3427) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 4.28
Burgundy
#800020
ΔE00 4.35
Red Wine
#8C0034
ΔE00 4.37
Wine Red
#7B0323
ΔE00 4.81
Rouge
#AB1239
ΔE00 5.20
Bordeaux
#7B002C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90172F #179078
analogous
#90176B #90172F #903B17
triadic
#90172F #2F9017 #172F90
tetradic
#90172F #6B9017 #179078 #3B1790
square
#90172F #6B9017 #179078 #3B1790
split-complementary
#90172F #17903B #176B90
monochromatic
#26060D #5B0F1E #90172F #C51F40 #E14160
Accessibility & contrast
On white
8.94
#90172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#90172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90172F
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90172F | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#9F0022
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #90172f; /* rgb */ color: rgb(144, 23, 47); /* oklch */ color: oklch(42.7% 0.154 16.9);
Tailwind
colors: {
custom: {
50: '#b86367',
500: '#90172f',
950: '#000000',
},
}SCSS
$custom: #90172f; $custom-light: #b86367; $custom-dark: #000000;
JSON
{
"hex": "#90172f",
"rgb": {
"r": 144,
"g": 23,
"b": 47
},
"hsl": {
"h": 348.099,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.42655,
"c": 0.15407,
"h": 16.9
},
"luminance": 0.06747
}Semantic roles & 50–950 ramp
primary
#90172F
secondary
#42C1A8
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A