#9F1A1B#9F1A1B
#9F1A1B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.168 H 26.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A1B |
|---|---|
| RGB | rgb(159, 26, 27) |
| HSL | hsl(360, 72%, 36%) |
| HSV | hsv(360, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 83%, 37.6%) |
| CIE-LAB | lab(34.38, 52.25, 35.58) |
| CIE-LCH | lch(34.38, 63.22, 34.25°) |
| OKLab | oklab(45.45% 0.1496 0.0758) |
| OKLCH | oklch(45.45% 0.168 26.9) |
| XYZ | xyz(14.8672, 8.1913, 1.8350) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.95
Brown
#A52A2A
ΔE00 3.37
Darkish Red
#A90308
ΔE00 3.85
Firebrick
#B22222
ΔE00 4.13
Blood Red
#980002
ΔE00 4.46
Crimson (survey)
#8C000F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A1B #1A9F9E
analogous
#9F1A5E #9F1A1B #9F5C1A
triadic
#9F1A1B #1B9F1A #1A1B9F
tetradic
#9F1A1B #5E9F1A #1A9F9E #5C1A9F
square
#9F1A1B #5E9F1A #1A9F9E #5C1A9F
split-complementary
#9F1A1B #1A9F5C #1A5E9F
monochromatic
#360909 #6A1112 #9F1A1B #D42324 #E35152
Accessibility & contrast
On white
7.96
#9F1A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9F1A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A1B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A1B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1a1b; /* rgb */ color: rgb(159, 26, 27); /* oklch */ color: oklch(45.5% 0.168 26.9);
Tailwind
colors: {
custom: {
50: '#c56658',
500: '#9f1a1b',
950: '#000000',
},
}SCSS
$custom: #9f1a1b; $custom-light: #c56658; $custom-dark: #000000;
JSON
{
"hex": "#9f1a1b",
"rgb": {
"r": 159,
"g": 26,
"b": 27
},
"hsl": {
"h": 359.549,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.45451,
"c": 0.16773,
"h": 26.9
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#9F1A1B
secondary
#50C5C4
accent
#EFED39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78