#9F161F#9F161F
#9F161F is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.170 H 24.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9F161F |
|---|---|
| RGB | rgb(159, 22, 31) |
| HSL | hsl(356, 76%, 35%) |
| HSV | hsv(356, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 80.5%, 37.6%) |
| CIE-LAB | lab(34.08, 53.35, 32.98) |
| CIE-LCH | lch(34.08, 62.72, 31.73°) |
| OKLab | oklab(45.24% 0.1539 0.0716) |
| OKLCH | oklch(45.24% 0.17 24.9) |
| XYZ | xyz(14.8342, 8.0461, 2.0681) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.89
Brown
#A52A2A
ΔE00 3.10
Firebrick
#B22222
ΔE00 4.63
Crimson (survey)
#8C000F
ΔE00 4.76
Darkish Red
#A90308
ΔE00 5.24
Blood Red
#980002
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F161F #169F96
analogous
#9F1664 #9F161F #9F5116
triadic
#9F161F #1F9F16 #161F9F
tetradic
#9F161F #649F16 #169F96 #51169F
square
#9F161F #649F16 #169F96 #51169F
split-complementary
#9F161F #169F51 #16649F
monochromatic
#33070A #690F15 #9F161F #D51D29 #E64A54
Accessibility & contrast
On white
8.05
#9F161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9F161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F161F
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F161F | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1E
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#B0001C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9f161f; /* rgb */ color: rgb(159, 22, 31); /* oklch */ color: oklch(45.2% 0.170 24.9);
Tailwind
colors: {
custom: {
50: '#c5655b',
500: '#9f161f',
950: '#000000',
},
}SCSS
$custom: #9f161f; $custom-light: #c5655b; $custom-dark: #000000;
JSON
{
"hex": "#9f161f",
"rgb": {
"r": 159,
"g": 22,
"b": 31
},
"hsl": {
"h": 356.058,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.45242,
"c": 0.16974,
"h": 24.9
},
"luminance": 0.08044
}Semantic roles & 50–950 ramp
primary
#9F161F
secondary
#4AC7BF
accent
#F2E636
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150604
muted
#837A79