#9F2417#9F2417
#9F2417 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 30.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2417 |
|---|---|
| RGB | rgb(159, 36, 23) |
| HSL | hsl(6, 75%, 36%) |
| HSV | hsv(6, 86%, 62%) |
| CMYK | cmyk(0%, 77.4%, 85.5%, 37.6%) |
| CIE-LAB | lab(35.39, 49.19, 38.67) |
| CIE-LCH | lch(35.39, 62.57, 38.18°) |
| OKLab | oklab(46.2% 0.1392 0.0811) |
| OKLCH | oklch(46.2% 0.161 30.2) |
| XYZ | xyz(15.0855, 8.6970, 1.6948) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.93
Brownish Red
#9E3623
ΔE00 3.14
Brick
#A03623
ΔE00 3.19
Burnt Red
#9F2305
ΔE00 3.58
Deep Red
#9A0200
ΔE00 3.87
Blood Red
#980002
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2417 #17929F
analogous
#9F174E #9F2417 #9F6817
triadic
#9F2417 #179F24 #24179F
tetradic
#9F2417 #4E9F17 #17929F #68179F
square
#9F2417 #4E9F17 #17929F #68179F
split-complementary
#9F2417 #179F68 #174E9F
monochromatic
#340C08 #6A180F #9F2417 #D4301F #E55A4B
Accessibility & contrast
On white
7.67
#9F2417 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F2417 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2417
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2417 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#695D0F
Tritanopia (blue-blind)
#B00023
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f2417; /* rgb */ color: rgb(159, 36, 23); /* oklch */ color: oklch(46.2% 0.161 30.2);
Tailwind
colors: {
custom: {
50: '#c56956',
500: '#9f2417',
950: '#000000',
},
}SCSS
$custom: #9f2417; $custom-light: #c56956; $custom-dark: #000000;
JSON
{
"hex": "#9f2417",
"rgb": {
"r": 159,
"g": 36,
"b": 23
},
"hsl": {
"h": 5.735,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46195,
"c": 0.16113,
"h": 30.2
},
"luminance": 0.08695
}Semantic roles & 50–950 ramp
primary
#9F2417
secondary
#4BBBC7
accent
#DFF136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78