#9D1B37#9D1B37
#9D1B37 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.163 H 15.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1B37 |
|---|---|
| RGB | rgb(157, 27, 55) |
| HSL | hsl(347, 71%, 36%) |
| HSV | hsv(347, 83%, 62%) |
| CMYK | cmyk(0%, 82.8%, 65%, 38.4%) |
| CIE-LAB | lab(34.46, 52.64, 18.30) |
| CIE-LCH | lch(34.46, 55.73, 19.17°) |
| OKLab | oklab(45.57% 0.1574 0.044) |
| OKLCH | oklch(45.57% 0.163 15.6) |
| XYZ | xyz(14.9878, 8.2301, 4.4131) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.55
Cranberry
#9E003A
ΔE00 3.11
Red Wine
#8C0034
ΔE00 5.37
Raspberry (survey)
#B00149
ΔE00 5.86
Rose Red
#BE013C
ΔE00 6.02
Purplish Red
#B0054B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1B37 #1B9D81
analogous
#9D1B78 #9D1B37 #9D401B
triadic
#9D1B37 #379D1B #1B379D
tetradic
#9D1B37 #789D1B #1B9D81 #401B9D
square
#9D1B37 #789D1B #1B9D81 #401B9D
split-complementary
#9D1B37 #1B9D40 #1B789D
monochromatic
#350912 #691225 #9D1B37 #D12449 #E15170
Accessibility & contrast
On white
7.94
#9D1B37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9D1B37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1B37
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1B37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1B37 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424037
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d1b37; /* rgb */ color: rgb(157, 27, 55); /* oklch */ color: oklch(45.6% 0.163 15.6);
Tailwind
colors: {
custom: {
50: '#c1666d',
500: '#9d1b37',
950: '#000000',
},
}SCSS
$custom: #9d1b37; $custom-light: #c1666d; $custom-dark: #000000;
JSON
{
"hex": "#9d1b37",
"rgb": {
"r": 157,
"g": 27,
"b": 55
},
"hsl": {
"h": 347.077,
"s": 70.652,
"l": 36.078
},
"oklch": {
"l": 0.45566,
"c": 0.16348,
"h": 15.6
},
"luminance": 0.08228
}Semantic roles & 50–950 ramp
primary
#9D1B37
secondary
#50C4AB
accent
#EDC73A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A