#9B1F37#9B1F37
#9B1F37 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 16.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F37 |
|---|---|
| RGB | rgb(155, 31, 55) |
| HSL | hsl(348, 67%, 36%) |
| HSV | hsv(348, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 64.5%, 39.2%) |
| CIE-LAB | lab(34.45, 50.92, 18.21) |
| CIE-LCH | lch(34.45, 54.08, 19.68°) |
| OKLab | oklab(45.49% 0.1522 0.0439) |
| OKLCH | oklch(45.49% 0.158 16.1) |
| XYZ | xyz(14.6987, 8.2266, 4.4276) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.91
Cranberry
#9E003A
ΔE00 3.51
Red Wine
#8C0034
ΔE00 5.50
Raspberry (survey)
#B00149
ΔE00 6.25
Rose Red
#BE013C
ΔE00 6.31
Purplish Red
#B0054B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F37 #1F9B83
analogous
#9B1F75 #9B1F37 #9B451F
triadic
#9B1F37 #379B1F #1F379B
tetradic
#9B1F37 #759B1F #1F9B83 #451F9B
square
#9B1F37 #759B1F #1F9B83 #451F9B
split-complementary
#9B1F37 #1F9B45 #1F759B
monochromatic
#350B13 #681525 #9B1F37 #CE2949 #DD5771
Accessibility & contrast
On white
7.94
#9B1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9B1F37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F37
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F37 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#AA0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1f37; /* rgb */ color: rgb(155, 31, 55); /* oklch */ color: oklch(45.5% 0.158 16.1);
Tailwind
colors: {
custom: {
50: '#c0686d',
500: '#9b1f37',
950: '#000000',
},
}SCSS
$custom: #9b1f37; $custom-light: #c0686d; $custom-dark: #000000;
JSON
{
"hex": "#9b1f37",
"rgb": {
"r": 155,
"g": 31,
"b": 55
},
"hsl": {
"h": 348.387,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45488,
"c": 0.1584,
"h": 16.1
},
"luminance": 0.08224
}Semantic roles & 50–950 ramp
primary
#9B1F37
secondary
#55C1AC
accent
#EAC83E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A