#9B1F28#9B1F28
#9B1F28 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.159 H 23.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F28 |
|---|---|
| RGB | rgb(155, 31, 40) |
| HSL | hsl(356, 67%, 36%) |
| HSV | hsv(356, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 74.2%, 39.2%) |
| CIE-LAB | lab(34.20, 50.13, 27.42) |
| CIE-LCH | lch(34.20, 57.14, 28.68°) |
| OKLab | oklab(45.22% 0.1463 0.0622) |
| OKLCH | oklch(45.22% 0.159 23) |
| XYZ | xyz(14.3922, 8.1040, 2.8135) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.28
Carmine
#9D0216
ΔE00 3.98
Crimson (survey)
#8C000F
ΔE00 5.90
Firebrick
#B22222
ΔE00 5.93
Rouge
#AB1239
ΔE00 5.96
Lipstick Red
#C0022F
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F28 #1F9B92
analogous
#9B1F66 #9B1F28 #9B541F
triadic
#9B1F28 #289B1F #1F289B
tetradic
#9B1F28 #669B1F #1F9B92 #541F9B
square
#9B1F28 #669B1F #1F9B92 #541F9B
split-complementary
#9B1F28 #1F9B54 #1F669B
monochromatic
#350B0E #68151B #9B1F28 #CE2935 #DD5761
Accessibility & contrast
On white
8.01
#9B1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9B1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F28
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F28 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#AB0024
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9b1f28; /* rgb */ color: rgb(155, 31, 40); /* oklch */ color: oklch(45.2% 0.159 23.0);
Tailwind
colors: {
custom: {
50: '#c16762',
500: '#9b1f28',
950: '#000000',
},
}SCSS
$custom: #9b1f28; $custom-light: #c16762; $custom-dark: #000000;
JSON
{
"hex": "#9b1f28",
"rgb": {
"r": 155,
"g": 31,
"b": 40
},
"hsl": {
"h": 355.645,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.4522,
"c": 0.15898,
"h": 23
},
"luminance": 0.08102
}Semantic roles & 50–950 ramp
primary
#9B1F28
secondary
#55C1B9
accent
#EADD3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79