#9D1D1F#9D1D1F
#9D1D1F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.163 H 26.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1D1F |
|---|---|
| RGB | rgb(157, 29, 31) |
| HSL | hsl(359, 69%, 36%) |
| HSV | hsv(359, 82%, 62%) |
| CMYK | cmyk(0%, 81.5%, 80.3%, 38.4%) |
| CIE-LAB | lab(34.29, 50.97, 33.07) |
| CIE-LCH | lch(34.29, 60.76, 32.97°) |
| OKLab | oklab(45.33% 0.1467 0.0719) |
| OKLCH | oklch(45.33% 0.163 26.1) |
| XYZ | xyz(14.5931, 8.1481, 2.1004) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.14
Brown
#A52A2A
ΔE00 2.90
Firebrick
#B22222
ΔE00 4.45
Crimson (survey)
#8C000F
ΔE00 4.72
Darkish Red
#A90308
ΔE00 4.88
Brownish Red
#9E3623
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1D1F #1D9D9B
analogous
#9D1D5F #9D1D1F #9D5B1D
triadic
#9D1D1F #1F9D1D #1D1F9D
tetradic
#9D1D1F #5F9D1D #1D9D9B #5B1D9D
square
#9D1D1F #5F9D1D #1D9D9B #5B1D9D
split-complementary
#9D1D1F #1D9D5B #1D5F9D
monochromatic
#360A0B #691315 #9D1D1F #D12729 #E05557
Accessibility & contrast
On white
7.99
#9D1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9D1D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1D1F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1D1F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#AD0020
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1d1f; /* rgb */ color: rgb(157, 29, 31); /* oklch */ color: oklch(45.3% 0.163 26.1);
Tailwind
colors: {
custom: {
50: '#c3675b',
500: '#9d1d1f',
950: '#000000',
},
}SCSS
$custom: #9d1d1f; $custom-light: #c3675b; $custom-dark: #000000;
JSON
{
"hex": "#9d1d1f",
"rgb": {
"r": 157,
"g": 29,
"b": 31
},
"hsl": {
"h": 359.063,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.45325,
"c": 0.16335,
"h": 26.1
},
"luminance": 0.08146
}Semantic roles & 50–950 ramp
primary
#9D1D1F
secondary
#53C3C1
accent
#ECE93C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79