#9D1E17#9D1E17
#9D1E17 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.164 H 28.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1E17 |
|---|---|
| RGB | rgb(157, 30, 23) |
| HSL | hsl(3, 74%, 35%) |
| HSV | hsv(3, 85%, 62%) |
| CMYK | cmyk(0%, 80.9%, 85.4%, 38.4%) |
| CIE-LAB | lab(34.32, 50.44, 37.55) |
| CIE-LCH | lch(34.32, 62.89, 36.67°) |
| OKLab | oklab(45.32% 0.1434 0.0788) |
| OKLCH | oklch(45.32% 0.164 28.8) |
| XYZ | xyz(14.5254, 8.1609, 1.6208) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.94
Darkish Red
#A90308
ΔE00 3.07
Blood Red
#980002
ΔE00 3.51
Deep Red
#9A0200
ΔE00 3.64
Brownish Red
#9E3623
ΔE00 4.13
Brick
#A03623
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1E17 #17969D
analogous
#9D1753 #9D1E17 #9D6117
triadic
#9D1E17 #179D1E #1E179D
tetradic
#9D1E17 #539D17 #17969D #61179D
square
#9D1E17 #539D17 #17969D #61179D
split-complementary
#9D1E17 #179D61 #17539D
monochromatic
#320A07 #68140F #9D1E17 #D2281F #E4524A
Accessibility & contrast
On white
7.98
#9D1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9D1E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1E17
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1E17 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#665B0F
Tritanopia (blue-blind)
#AE001E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1e17; /* rgb */ color: rgb(157, 30, 23); /* oklch */ color: oklch(45.3% 0.164 28.8);
Tailwind
colors: {
custom: {
50: '#c36756',
500: '#9d1e17',
950: '#000000',
},
}SCSS
$custom: #9d1e17; $custom-light: #c36756; $custom-dark: #000000;
JSON
{
"hex": "#9d1e17",
"rgb": {
"r": 157,
"g": 30,
"b": 23
},
"hsl": {
"h": 3.134,
"s": 74.444,
"l": 35.294
},
"oklch": {
"l": 0.4532,
"c": 0.1636,
"h": 28.8
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#9D1E17
secondary
#4ABFC6
accent
#E7F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78