#9D1F37#9D1F37
#9D1F37 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 16.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F37 |
|---|---|
| RGB | rgb(157, 31, 55) |
| HSL | hsl(349, 67%, 37%) |
| HSV | hsv(349, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 65%, 38.4%) |
| CIE-LAB | lab(34.86, 51.51, 18.81) |
| CIE-LCH | lch(34.86, 54.84, 20.06°) |
| OKLab | oklab(45.86% 0.1538 0.0452) |
| OKLCH | oklch(45.86% 0.16 16.4) |
| XYZ | xyz(15.0858, 8.4262, 4.4458) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.55
Cranberry
#9E003A
ΔE00 3.73
Red Wine
#8C0034
ΔE00 5.90
Rose Red
#BE013C
ΔE00 5.92
Raspberry (survey)
#B00149
ΔE00 6.23
Purplish Red
#B0054B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F37 #1F9D85
analogous
#9D1F76 #9D1F37 #9D461F
triadic
#9D1F37 #379D1F #1F379D
tetradic
#9D1F37 #769D1F #1F9D85 #461F9D
square
#9D1F37 #769D1F #1F9D85 #461F9D
split-complementary
#9D1F37 #1F9D46 #1F769D
monochromatic
#370B13 #6A1525 #9D1F37 #D02949 #DE5872
Accessibility & contrast
On white
7.82
#9D1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9D1F37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F37
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F37 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444137
Deuteranopia (green-blind)
#645B33
Tritanopia (blue-blind)
#AD002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f37; /* rgb */ color: rgb(157, 31, 55); /* oklch */ color: oklch(45.9% 0.160 16.4);
Tailwind
colors: {
custom: {
50: '#c1686d',
500: '#9d1f37',
950: '#000000',
},
}SCSS
$custom: #9d1f37; $custom-light: #c1686d; $custom-dark: #000000;
JSON
{
"hex": "#9d1f37",
"rgb": {
"r": 157,
"g": 31,
"b": 55
},
"hsl": {
"h": 348.571,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45859,
"c": 0.16032,
"h": 16.4
},
"luminance": 0.08424
}Semantic roles & 50–950 ramp
primary
#9D1F37
secondary
#56C2AD
accent
#EAC93E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A