#9D291F#9D291F
#9D291F is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.4% C 0.154 H 29.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D291F |
|---|---|
| RGB | rgb(157, 41, 31) |
| HSL | hsl(5, 67%, 37%) |
| HSV | hsv(5, 80%, 62%) |
| CMYK | cmyk(0%, 73.9%, 80.3%, 38.4%) |
| CIE-LAB | lab(35.70, 47.02, 34.52) |
| CIE-LCH | lch(35.70, 58.33, 36.29°) |
| OKLab | oklab(46.38% 0.1342 0.0751) |
| OKLCH | oklch(46.38% 0.154 29.2) |
| XYZ | xyz(14.9467, 8.8552, 2.2183) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 2.85
Brick
#A03623
ΔE00 2.96
Brown
#A52A2A
ΔE00 3.25
Carmine
#9D0216
ΔE00 4.00
Firebrick
#B22222
ΔE00 4.03
Darkish Red
#A90308
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D291F #1F939D
analogous
#9D1F54 #9D291F #9D681F
triadic
#9D291F #1F9D29 #291F9D
tetradic
#9D291F #549D1F #1F939D #681F9D
square
#9D291F #549D1F #1F939D #681F9D
split-complementary
#9D291F #1F9D68 #1F549D
monochromatic
#370E0B #6A1C15 #9D291F #D03629 #DE6358
Accessibility & contrast
On white
7.58
#9D291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9D291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D291F
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D291F | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9d291f; /* rgb */ color: rgb(157, 41, 31); /* oklch */ color: oklch(46.4% 0.154 29.2);
Tailwind
colors: {
custom: {
50: '#c26b5c',
500: '#9d291f',
950: '#000000',
},
}SCSS
$custom: #9d291f; $custom-light: #c26b5c; $custom-dark: #000000;
JSON
{
"hex": "#9d291f",
"rgb": {
"r": 157,
"g": 41,
"b": 31
},
"hsl": {
"h": 4.762,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46378,
"c": 0.15382,
"h": 29.2
},
"luminance": 0.08853
}Semantic roles & 50–950 ramp
primary
#9D291F
secondary
#56B9C2
accent
#DCEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79