#9F161B#9F161B
#9F161B is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.170 H 26.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F161B |
|---|---|
| RGB | rgb(159, 22, 27) |
| HSL | hsl(358, 76%, 35%) |
| HSV | hsv(358, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 83%, 37.6%) |
| CIE-LAB | lab(34.04, 53.22, 35.25) |
| CIE-LCH | lch(34.04, 63.84, 33.52°) |
| OKLab | oklab(45.2% 0.1527 0.0751) |
| OKLCH | oklch(45.2% 0.17 26.2) |
| XYZ | xyz(14.7847, 8.0263, 1.8075) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.51
Brown
#A52A2A
ΔE00 3.47
Darkish Red
#A90308
ΔE00 4.15
Firebrick
#B22222
ΔE00 4.37
Crimson (survey)
#8C000F
ΔE00 4.47
Blood Red
#980002
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F161B #169F9A
analogous
#9F165F #9F161B #9F5516
triadic
#9F161B #1B9F16 #161B9F
tetradic
#9F161B #5F9F16 #169F9A #55169F
square
#9F161B #5F9F16 #169F9A #55169F
split-complementary
#9F161B #169F55 #165F9F
monochromatic
#330709 #690F12 #9F161B #D51D24 #E64A4F
Accessibility & contrast
On white
8.06
#9F161B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9F161B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F161B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F161B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F161B | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D19
Deuteranopia (green-blind)
#665A14
Tritanopia (blue-blind)
#B0001A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9f161b; /* rgb */ color: rgb(159, 22, 27); /* oklch */ color: oklch(45.2% 0.170 26.2);
Tailwind
colors: {
custom: {
50: '#c56558',
500: '#9f161b',
950: '#000000',
},
}SCSS
$custom: #9f161b; $custom-light: #c56558; $custom-dark: #000000;
JSON
{
"hex": "#9f161b",
"rgb": {
"r": 159,
"g": 22,
"b": 27
},
"hsl": {
"h": 357.81,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.45199,
"c": 0.17014,
"h": 26.2
},
"luminance": 0.08024
}Semantic roles & 50–950 ramp
primary
#9F161B
secondary
#4AC7C3
accent
#F2EB36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78