#9D1F20#9D1F20
#9D1F20 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.162 H 26.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F20 |
|---|---|
| RGB | rgb(157, 31, 32) |
| HSL | hsl(360, 67%, 37%) |
| HSV | hsv(360, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 79.6%, 38.4%) |
| CIE-LAB | lab(34.51, 50.42, 32.71) |
| CIE-LCH | lch(34.51, 60.10, 32.97°) |
| OKLab | oklab(45.49% 0.1451 0.0715) |
| OKLCH | oklch(45.49% 0.162 26.2) |
| XYZ | xyz(14.6571, 8.2547, 2.1878) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.39
Brown
#A52A2A
ΔE00 2.70
Firebrick
#B22222
ΔE00 4.36
Crimson (survey)
#8C000F
ΔE00 4.92
Darkish Red
#A90308
ΔE00 4.98
Brownish Red
#9E3623
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F20 #1F9D9C
analogous
#9D1F5F #9D1F20 #9D5D1F
triadic
#9D1F20 #209D1F #1F209D
tetradic
#9D1F20 #5F9D1F #1F9D9C #5D1F9D
square
#9D1F20 #5F9D1F #1F9D9C #5D1F9D
split-complementary
#9D1F20 #1F9D5D #1F5F9D
monochromatic
#370B0B #6A1516 #9D1F20 #D0292A #DE5859
Accessibility & contrast
On white
7.92
#9D1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9D1F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F20
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F20 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47401E
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#AD0021
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1f20; /* rgb */ color: rgb(157, 31, 32); /* oklch */ color: oklch(45.5% 0.162 26.2);
Tailwind
colors: {
custom: {
50: '#c3675c',
500: '#9d1f20',
950: '#000000',
},
}SCSS
$custom: #9d1f20; $custom-light: #c3675c; $custom-dark: #000000;
JSON
{
"hex": "#9d1f20",
"rgb": {
"r": 157,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.524,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45491,
"c": 0.16178,
"h": 26.2
},
"luminance": 0.08252
}Semantic roles & 50–950 ramp
primary
#9D1F20
secondary
#56C2C1
accent
#EAE93E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79