#9E271D#9E271D
#9E271D is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.157 H 29.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9E271D |
|---|---|
| RGB | rgb(158, 39, 29) |
| HSL | hsl(5, 69%, 37%) |
| HSV | hsv(5, 82%, 62%) |
| CMYK | cmyk(0%, 75.3%, 81.6%, 38%) |
| CIE-LAB | lab(35.62, 48.01, 35.61) |
| CIE-LCH | lch(35.62, 59.77, 36.57°) |
| OKLab | oklab(46.34% 0.1368 0.0767) |
| OKLCH | oklch(46.34% 0.157 29.3) |
| XYZ | xyz(15.0496, 8.8112, 2.0705) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 2.97
Brick
#A03623
ΔE00 3.05
Brown
#A52A2A
ΔE00 3.49
Darkish Red
#A90308
ΔE00 3.84
Carmine
#9D0216
ΔE00 3.86
Firebrick
#B22222
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E271D #1D949E
analogous
#9E1D54 #9E271D #9E681D
triadic
#9E271D #1D9E27 #271D9E
tetradic
#9E271D #549E1D #1D949E #681D9E
square
#9E271D #549E1D #1D949E #681D9E
split-complementary
#9E271D #1D9E68 #1D549E
monochromatic
#370D0A #6A1A14 #9E271D #D23426 #E06056
Accessibility & contrast
On white
7.60
#9E271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9E271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E271D
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E271D | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#695D17
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e271d; /* rgb */ color: rgb(158, 39, 29); /* oklch */ color: oklch(46.3% 0.157 29.3);
Tailwind
colors: {
custom: {
50: '#c36b5a',
500: '#9e271d',
950: '#000000',
},
}SCSS
$custom: #9e271d; $custom-light: #c36b5a; $custom-dark: #000000;
JSON
{
"hex": "#9e271d",
"rgb": {
"r": 158,
"g": 39,
"b": 29
},
"hsl": {
"h": 4.651,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.46343,
"c": 0.15686,
"h": 29.3
},
"luminance": 0.08809
}Semantic roles & 50–950 ramp
primary
#9E271D
secondary
#54BBC3
accent
#DEEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79