#9F1B1A#9F1B1A
#9F1B1A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.167 H 27.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B1A |
|---|---|
| RGB | rgb(159, 27, 26) |
| HSL | hsl(0, 72%, 36%) |
| HSV | hsv(0, 84%, 62%) |
| CMYK | cmyk(0%, 83%, 83.6%, 37.6%) |
| CIE-LAB | lab(34.46, 51.96, 36.22) |
| CIE-LCH | lch(34.46, 63.34, 34.88°) |
| OKLab | oklab(45.51% 0.1485 0.0768) |
| OKLCH | oklch(45.51% 0.167 27.4) |
| XYZ | xyz(14.8783, 8.2318, 1.7826) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.18
Brown
#A52A2A
ΔE00 3.54
Darkish Red
#A90308
ΔE00 3.54
Firebrick
#B22222
ΔE00 4.10
Blood Red
#980002
ΔE00 4.21
Deep Red
#9A0200
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B1A #1A9E9F
analogous
#9F1A5C #9F1B1A #9F5E1A
triadic
#9F1B1A #1A9F1B #1B1A9F
tetradic
#9F1B1A #5C9F1A #1A9E9F #5E1A9F
square
#9F1B1A #5C9F1A #1A9E9F #5E1A9F
split-complementary
#9F1B1A #1A9F5E #1A5C9F
monochromatic
#360909 #6A1211 #9F1B1A #D42423 #E35251
Accessibility & contrast
On white
7.94
#9F1B1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9F1B1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B1A
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B1A | 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)
#473F18
Deuteranopia (green-blind)
#675B13
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1b1a; /* rgb */ color: rgb(159, 27, 26); /* oklch */ color: oklch(45.5% 0.167 27.4);
Tailwind
colors: {
custom: {
50: '#c56658',
500: '#9f1b1a',
950: '#000000',
},
}SCSS
$custom: #9f1b1a; $custom-light: #c56658; $custom-dark: #000000;
JSON
{
"hex": "#9f1b1a",
"rgb": {
"r": 159,
"g": 27,
"b": 26
},
"hsl": {
"h": 0.451,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.4551,
"c": 0.1672,
"h": 27.4
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#9F1B1A
secondary
#50C4C5
accent
#EDEF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78