#9D1E1B#9D1E1B
#9D1E1B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.163 H 27.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1E1B |
|---|---|
| RGB | rgb(157, 30, 27) |
| HSL | hsl(1, 71%, 36%) |
| HSV | hsv(1, 83%, 62%) |
| CMYK | cmyk(0%, 80.9%, 82.8%, 38.4%) |
| CIE-LAB | lab(34.35, 50.55, 35.41) |
| CIE-LCH | lch(34.35, 61.72, 35.01°) |
| OKLab | oklab(45.36% 0.1445 0.0757) |
| OKLCH | oklch(45.36% 0.163 27.6) |
| XYZ | xyz(14.5685, 8.1781, 1.8482) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.35
Brown
#A52A2A
ΔE00 3.51
Darkish Red
#A90308
ΔE00 3.83
Blood Red
#980002
ΔE00 4.27
Firebrick
#B22222
ΔE00 4.32
Brownish Red
#9E3623
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1E1B #1B9A9D
analogous
#9D1B59 #9D1E1B #9D5F1B
triadic
#9D1E1B #1B9D1E #1E1B9D
tetradic
#9D1E1B #599D1B #1B9A9D #5F1B9D
square
#9D1E1B #599D1B #1B9A9D #5F1B9D
split-complementary
#9D1E1B #1B9D5F #1B599D
monochromatic
#350A09 #691412 #9D1E1B #D12824 #E15551
Accessibility & contrast
On white
7.97
#9D1E1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9D1E1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1E1B
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1E1B | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#AD001F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1e1b; /* rgb */ color: rgb(157, 30, 27); /* oklch */ color: oklch(45.4% 0.163 27.6);
Tailwind
colors: {
custom: {
50: '#c36758',
500: '#9d1e1b',
950: '#000000',
},
}SCSS
$custom: #9d1e1b; $custom-light: #c36758; $custom-dark: #000000;
JSON
{
"hex": "#9d1e1b",
"rgb": {
"r": 157,
"g": 30,
"b": 27
},
"hsl": {
"h": 1.385,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.45358,
"c": 0.16311,
"h": 27.6
},
"luminance": 0.08176
}Semantic roles & 50–950 ramp
primary
#9D1E1B
secondary
#50C1C4
accent
#E9ED3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78