#9D1F2F#9D1F2F
#9D1F2F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 20.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F2F |
|---|---|
| RGB | rgb(157, 31, 47) |
| HSL | hsl(352, 67%, 37%) |
| HSV | hsv(352, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 70.1%, 38.4%) |
| CIE-LAB | lab(34.71, 51.07, 23.74) |
| CIE-LCH | lch(34.71, 56.32, 24.94°) |
| OKLab | oklab(45.71% 0.1506 0.0553) |
| OKLCH | oklch(45.71% 0.16 20.2) |
| XYZ | xyz(14.9094, 8.3556, 3.5165) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.93
Brown
#A52A2A
ΔE00 4.56
Carmine
#9D0216
ΔE00 5.96
Cranberry
#9E003A
ΔE00 6.15
Lipstick Red
#C0022F
ΔE00 6.45
Rose Red
#BE013C
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F2F #1F9D8D
analogous
#9D1F6E #9D1F2F #9D4E1F
triadic
#9D1F2F #2F9D1F #1F2F9D
tetradic
#9D1F2F #6E9D1F #1F9D8D #4E1F9D
square
#9D1F2F #6E9D1F #1F9D8D #4E1F9D
split-complementary
#9D1F2F #1F9D4E #1F6E9D
monochromatic
#370B10 #6A1520 #9D1F2F #D0293E #DE5869
Accessibility & contrast
On white
7.86
#9D1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F2F
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F2F | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45412F
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f2f; /* rgb */ color: rgb(157, 31, 47); /* oklch */ color: oklch(45.7% 0.160 20.2);
Tailwind
colors: {
custom: {
50: '#c26867',
500: '#9d1f2f',
950: '#000000',
},
}SCSS
$custom: #9d1f2f; $custom-light: #c26867; $custom-dark: #000000;
JSON
{
"hex": "#9d1f2f",
"rgb": {
"r": 157,
"g": 31,
"b": 47
},
"hsl": {
"h": 352.381,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45708,
"c": 0.16045,
"h": 20.2
},
"luminance": 0.08353
}Semantic roles & 50–950 ramp
primary
#9D1F2F
secondary
#56C2B4
accent
#EAD43E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A