#9D1F1D#9D1F1D
#9D1F1D is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 27.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F1D |
|---|---|
| RGB | rgb(157, 31, 29) |
| HSL | hsl(1, 69%, 36%) |
| HSV | hsv(1, 82%, 62%) |
| CMYK | cmyk(0%, 80.3%, 81.5%, 38.4%) |
| CIE-LAB | lab(34.48, 50.32, 34.41) |
| CIE-LCH | lch(34.48, 60.96, 34.36°) |
| OKLab | oklab(45.46% 0.1442 0.0742) |
| OKLCH | oklch(45.46% 0.162 27.2) |
| XYZ | xyz(14.6182, 8.2391, 1.9828) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.36
Brown
#A52A2A
ΔE00 3.15
Darkish Red
#A90308
ΔE00 4.22
Firebrick
#B22222
ΔE00 4.25
Brownish Red
#9E3623
ΔE00 4.57
Brick
#A03623
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F1D #1D9B9D
analogous
#9D1D5B #9D1F1D #9D5F1D
triadic
#9D1F1D #1D9D1F #1F1D9D
tetradic
#9D1F1D #5B9D1D #1D9B9D #5F1D9D
square
#9D1F1D #5B9D1D #1D9B9D #5F1D9D
split-complementary
#9D1F1D #1D9D5F #1D5B9D
monochromatic
#360B0A #691513 #9D1F1D #D12927 #E05755
Accessibility & contrast
On white
7.93
#9D1F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9D1F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F1D
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F1D | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47401B
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#AD0020
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1f1d; /* rgb */ color: rgb(157, 31, 29); /* oklch */ color: oklch(45.5% 0.162 27.2);
Tailwind
colors: {
custom: {
50: '#c3675a',
500: '#9d1f1d',
950: '#000000',
},
}SCSS
$custom: #9d1f1d; $custom-light: #c3675a; $custom-dark: #000000;
JSON
{
"hex": "#9d1f1d",
"rgb": {
"r": 157,
"g": 31,
"b": 29
},
"hsl": {
"h": 0.938,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.45457,
"c": 0.16215,
"h": 27.2
},
"luminance": 0.08237
}Semantic roles & 50–950 ramp
primary
#9D1F1D
secondary
#53C1C3
accent
#E9EC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79