#9B1F38#9B1F38
#9B1F38 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 15.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F38 |
|---|---|
| RGB | rgb(155, 31, 56) |
| HSL | hsl(348, 67%, 36%) |
| HSV | hsv(348, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 63.9%, 39.2%) |
| CIE-LAB | lab(34.47, 50.98, 17.59) |
| CIE-LCH | lch(34.47, 53.93, 19.03°) |
| OKLab | oklab(45.51% 0.1526 0.0426) |
| OKLCH | oklch(45.51% 0.158 15.6) |
| XYZ | xyz(14.7229, 8.2363, 4.5551) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.92
Cranberry
#9E003A
ΔE00 3.25
Red Wine
#8C0034
ΔE00 5.31
Raspberry (survey)
#B00149
ΔE00 5.97
Purplish Red
#B0054B
ΔE00 6.32
Rose Red
#BE013C
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F38 #1F9B82
analogous
#9B1F76 #9B1F38 #9B441F
triadic
#9B1F38 #389B1F #1F389B
tetradic
#9B1F38 #769B1F #1F9B82 #441F9B
square
#9B1F38 #769B1F #1F9B82 #441F9B
split-complementary
#9B1F38 #1F9B44 #1F769B
monochromatic
#350B13 #681526 #9B1F38 #CE294A #DD5772
Accessibility & contrast
On white
7.93
#9B1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9B1F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F38
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F38 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#AA002A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9b1f38; /* rgb */ color: rgb(155, 31, 56); /* oklch */ color: oklch(45.5% 0.158 15.6);
Tailwind
colors: {
custom: {
50: '#c0686e',
500: '#9b1f38',
950: '#000000',
},
}SCSS
$custom: #9b1f38; $custom-light: #c0686e; $custom-dark: #000000;
JSON
{
"hex": "#9b1f38",
"rgb": {
"r": 155,
"g": 31,
"b": 56
},
"hsl": {
"h": 347.903,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.45509,
"c": 0.15843,
"h": 15.6
},
"luminance": 0.08234
}Semantic roles & 50–950 ramp
primary
#9B1F38
secondary
#55C1AB
accent
#EAC73E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A