#9D1F38#9D1F38
#9D1F38 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 15.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F38 |
|---|---|
| RGB | rgb(157, 31, 56) |
| HSL | hsl(348, 67%, 37%) |
| HSV | hsv(348, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 64.3%, 38.4%) |
| CIE-LAB | lab(34.87, 51.57, 18.19) |
| CIE-LCH | lch(34.87, 54.69, 19.43°) |
| OKLab | oklab(45.88% 0.1542 0.0439) |
| OKLCH | oklch(45.88% 0.16 15.9) |
| XYZ | xyz(15.1100, 8.4359, 4.5733) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.54
Cranberry
#9E003A
ΔE00 3.46
Red Wine
#8C0034
ΔE00 5.71
Rose Red
#BE013C
ΔE00 5.94
Raspberry (survey)
#B00149
ΔE00 5.95
Purplish Red
#B0054B
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F38 #1F9D84
analogous
#9D1F77 #9D1F38 #9D451F
triadic
#9D1F38 #389D1F #1F389D
tetradic
#9D1F38 #779D1F #1F9D84 #451F9D
square
#9D1F38 #779D1F #1F9D84 #451F9D
split-complementary
#9D1F38 #1F9D45 #1F779D
monochromatic
#370B14 #6A1526 #9D1F38 #D0294A #DE5873
Accessibility & contrast
On white
7.82
#9D1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9D1F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F38
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F38 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444138
Deuteranopia (green-blind)
#645B34
Tritanopia (blue-blind)
#AC002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f38; /* rgb */ color: rgb(157, 31, 56); /* oklch */ color: oklch(45.9% 0.160 15.9);
Tailwind
colors: {
custom: {
50: '#c1686e',
500: '#9d1f38',
950: '#000000',
},
}SCSS
$custom: #9d1f38; $custom-light: #c1686e; $custom-dark: #000000;
JSON
{
"hex": "#9d1f38",
"rgb": {
"r": 157,
"g": 31,
"b": 56
},
"hsl": {
"h": 348.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.4588,
"c": 0.16035,
"h": 15.9
},
"luminance": 0.08434
}Semantic roles & 50–950 ramp
primary
#9D1F38
secondary
#56C2AC
accent
#EAC83E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A