#9E1F2D#9E1F2D
#9E1F2D is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 21.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F2D |
|---|---|
| RGB | rgb(158, 31, 45) |
| HSL | hsl(353, 67%, 37%) |
| HSV | hsv(353, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 71.5%, 38%) |
| CIE-LAB | lab(34.88, 51.27, 25.26) |
| CIE-LCH | lch(34.88, 57.15, 26.23°) |
| OKLab | oklab(45.86% 0.1507 0.0583) |
| OKLCH | oklch(45.86% 0.162 21.2) |
| XYZ | xyz(15.0659, 8.4409, 3.3181) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.86
Rouge
#AB1239
ΔE00 4.46
Carmine
#9D0216
ΔE00 5.29
Lipstick Red
#C0022F
ΔE00 6.14
Firebrick
#B22222
ΔE00 6.54
Rose Red
#BE013C
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F2D #1F9E90
analogous
#9E1F6D #9E1F2D #9E511F
triadic
#9E1F2D #2D9E1F #1F2D9E
tetradic
#9E1F2D #6D9E1F #1F9E90 #511F9E
square
#9E1F2D #6D9E1F #1F9E90 #511F9E
split-complementary
#9E1F2D #1F9E51 #1F6D9E
monochromatic
#380B10 #6B151E #9E1F2D #D1293C #DE5968
Accessibility & contrast
On white
7.81
#9E1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F2D
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F2D | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46412C
Deuteranopia (green-blind)
#655C29
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1f2d; /* rgb */ color: rgb(158, 31, 45); /* oklch */ color: oklch(45.9% 0.162 21.2);
Tailwind
colors: {
custom: {
50: '#c36865',
500: '#9e1f2d',
950: '#000000',
},
}SCSS
$custom: #9e1f2d; $custom-light: #c36865; $custom-dark: #000000;
JSON
{
"hex": "#9e1f2d",
"rgb": {
"r": 158,
"g": 31,
"b": 45
},
"hsl": {
"h": 353.386,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.45862,
"c": 0.16154,
"h": 21.2
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#9E1F2D
secondary
#56C2B6
accent
#EAD73E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A