#9F2117#9F2117
#9F2117 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 29.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2117 |
|---|---|
| RGB | rgb(159, 33, 23) |
| HSL | hsl(4, 75%, 36%) |
| HSV | hsv(4, 86%, 62%) |
| CMYK | cmyk(0%, 79.2%, 85.5%, 37.6%) |
| CIE-LAB | lab(35.05, 50.15, 38.37) |
| CIE-LCH | lch(35.05, 63.15, 37.41°) |
| OKLab | oklab(45.94% 0.1423 0.0804) |
| OKLCH | oklch(45.94% 0.163 29.5) |
| XYZ | xyz(14.9985, 8.5229, 1.6658) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.81
Brownish Red
#9E3623
ΔE00 3.57
Brick
#A03623
ΔE00 3.62
Carmine
#9D0216
ΔE00 3.65
Deep Red
#9A0200
ΔE00 3.75
Blood Red
#980002
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2117 #17959F
analogous
#9F1751 #9F2117 #9F6517
triadic
#9F2117 #179F21 #21179F
tetradic
#9F2117 #519F17 #17959F #65179F
square
#9F2117 #519F17 #17959F #65179F
split-complementary
#9F2117 #179F65 #17519F
monochromatic
#340B08 #6A160F #9F2117 #D42C1F #E5574B
Accessibility & contrast
On white
7.77
#9F2117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F2117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2117
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2117 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#685C0F
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f2117; /* rgb */ color: rgb(159, 33, 23); /* oklch */ color: oklch(45.9% 0.163 29.5);
Tailwind
colors: {
custom: {
50: '#c56856',
500: '#9f2117',
950: '#000000',
},
}SCSS
$custom: #9f2117; $custom-light: #c56856; $custom-dark: #000000;
JSON
{
"hex": "#9f2117",
"rgb": {
"r": 159,
"g": 33,
"b": 23
},
"hsl": {
"h": 4.412,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.45938,
"c": 0.1634,
"h": 29.5
},
"luminance": 0.08521
}Semantic roles & 50–950 ramp
primary
#9F2117
secondary
#4BBEC7
accent
#E4F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78