#9E1F32#9E1F32
#9E1F32 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 18.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F32 |
|---|---|
| RGB | rgb(158, 31, 50) |
| HSL | hsl(351, 67%, 37%) |
| HSV | hsv(351, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 68.4%, 38%) |
| CIE-LAB | lab(34.97, 51.52, 22.20) |
| CIE-LCH | lch(34.97, 56.10, 23.31°) |
| OKLab | oklab(45.95% 0.1526 0.0523) |
| OKLCH | oklch(45.95% 0.161 18.9) |
| XYZ | xyz(15.1680, 8.4817, 3.8555) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.14
Brown
#A52A2A
ΔE00 5.28
Cranberry
#9E003A
ΔE00 5.32
Rose Red
#BE013C
ΔE00 5.96
Lipstick Red
#C0022F
ΔE00 6.53
Carmine
#9D0216
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F32 #1F9E8B
analogous
#9E1F71 #9E1F32 #9E4C1F
triadic
#9E1F32 #329E1F #1F329E
tetradic
#9E1F32 #719E1F #1F9E8B #4C1F9E
square
#9E1F32 #719E1F #1F9E8B #4C1F9E
split-complementary
#9E1F32 #1F9E4C #1F719E
monochromatic
#380B12 #6B1522 #9E1F32 #D12942 #DE596D
Accessibility & contrast
On white
7.79
#9E1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9E1F32 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F32
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F32 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454132
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1f32; /* rgb */ color: rgb(158, 31, 50); /* oklch */ color: oklch(45.9% 0.161 18.9);
Tailwind
colors: {
custom: {
50: '#c26869',
500: '#9e1f32',
950: '#000000',
},
}SCSS
$custom: #9e1f32; $custom-light: #c26869; $custom-dark: #000000;
JSON
{
"hex": "#9e1f32",
"rgb": {
"r": 158,
"g": 31,
"b": 50
},
"hsl": {
"h": 351.024,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.45948,
"c": 0.16131,
"h": 18.9
},
"luminance": 0.08479
}Semantic roles & 50–950 ramp
primary
#9E1F32
secondary
#56C2B2
accent
#EAD03E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A