#9E1D1F#9E1D1F
#9E1D1F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.164 H 26.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D1F |
|---|---|
| RGB | rgb(158, 29, 31) |
| HSL | hsl(359, 69%, 37%) |
| HSV | hsv(359, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 80.4%, 38%) |
| CIE-LAB | lab(34.50, 51.27, 33.35) |
| CIE-LCH | lch(34.50, 61.16, 33.04°) |
| OKLab | oklab(45.52% 0.1475 0.0725) |
| OKLCH | oklch(45.52% 0.164 26.2) |
| XYZ | xyz(14.7891, 8.2492, 2.1096) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.19
Brown
#A52A2A
ΔE00 2.79
Firebrick
#B22222
ΔE00 4.25
Darkish Red
#A90308
ΔE00 4.76
Crimson (survey)
#8C000F
ΔE00 4.87
Brownish Red
#9E3623
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D1F #1D9E9C
analogous
#9E1D60 #9E1D1F #9E5C1D
triadic
#9E1D1F #1F9E1D #1D1F9E
tetradic
#9E1D1F #609E1D #1D9E9C #5C1D9E
square
#9E1D1F #609E1D #1D9E9C #5C1D9E
split-complementary
#9E1D1F #1D9E5C #1D609E
monochromatic
#370A0B #6A1415 #9E1D1F #D22629 #E05658
Accessibility & contrast
On white
7.93
#9E1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D1F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D1F | 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)
#473F1D
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1d1f; /* rgb */ color: rgb(158, 29, 31); /* oklch */ color: oklch(45.5% 0.164 26.2);
Tailwind
colors: {
custom: {
50: '#c4675b',
500: '#9e1d1f',
950: '#000000',
},
}SCSS
$custom: #9e1d1f; $custom-light: #c4675b; $custom-dark: #000000;
JSON
{
"hex": "#9e1d1f",
"rgb": {
"r": 158,
"g": 29,
"b": 31
},
"hsl": {
"h": 359.07,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.45515,
"c": 0.16432,
"h": 26.2
},
"luminance": 0.08247
}Semantic roles & 50–950 ramp
primary
#9E1D1F
secondary
#54C3C1
accent
#ECE93C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79