#9F1617#9F1617
#9F1617 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.171 H 27.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1617 |
|---|---|
| RGB | rgb(159, 22, 23) |
| HSL | hsl(360, 76%, 35%) |
| HSV | hsv(360, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 85.5%, 37.6%) |
| CIE-LAB | lab(34.00, 53.12, 37.43) |
| CIE-LCH | lch(34.00, 64.98, 35.17°) |
| OKLab | oklab(45.16% 0.1515 0.0782) |
| OKLCH | oklch(45.16% 0.171 27.3) |
| XYZ | xyz(14.7415, 8.0091, 1.5802) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 1.91
Darkish Red
#A90308
ΔE00 3.19
Blood Red
#980002
ΔE00 3.69
Deep Red
#9A0200
ΔE00 3.95
Brown
#A52A2A
ΔE00 4.09
Firebrick
#B22222
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1617 #169F9E
analogous
#9F165B #9F1617 #9F5916
triadic
#9F1617 #179F16 #16179F
tetradic
#9F1617 #5B9F16 #169F9E #59169F
square
#9F1617 #5B9F16 #169F9E #59169F
split-complementary
#9F1617 #169F59 #165B9F
monochromatic
#330707 #690F0F #9F1617 #D51D1F #E64A4B
Accessibility & contrast
On white
8.07
#9F1617 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9F1617 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1617
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1617 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#665A0E
Tritanopia (blue-blind)
#B00019
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9f1617; /* rgb */ color: rgb(159, 22, 23); /* oklch */ color: oklch(45.2% 0.171 27.3);
Tailwind
colors: {
custom: {
50: '#c56456',
500: '#9f1617',
950: '#000000',
},
}SCSS
$custom: #9f1617; $custom-light: #c56456; $custom-dark: #000000;
JSON
{
"hex": "#9f1617",
"rgb": {
"r": 159,
"g": 22,
"b": 23
},
"hsl": {
"h": 359.562,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.45161,
"c": 0.17055,
"h": 27.3
},
"luminance": 0.08007
}Semantic roles & 50–950 ramp
primary
#9F1617
secondary
#4AC7C6
accent
#F2F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78