#9F2717#9F2717
#9F2717 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.159 H 31.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2717 |
|---|---|
| RGB | rgb(159, 39, 23) |
| HSL | hsl(7, 75%, 36%) |
| HSV | hsv(7, 86%, 62%) |
| CMYK | cmyk(0%, 75.5%, 85.5%, 37.6%) |
| CIE-LAB | lab(35.76, 48.16, 39.00) |
| CIE-LCH | lch(35.76, 61.97, 39.01°) |
| OKLab | oklab(46.47% 0.136 0.0818) |
| OKLCH | oklch(46.47% 0.159 31) |
| XYZ | xyz(15.1801, 8.8862, 1.7264) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 2.73
Brick
#A03623
ΔE00 2.78
Burnt Red
#9F2305
ΔE00 3.16
Darkish Red
#A90308
ΔE00 3.18
Deep Red
#9A0200
ΔE00 4.09
Red Brown
#8B2E16
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2717 #178F9F
analogous
#9F174B #9F2717 #9F6B17
triadic
#9F2717 #179F27 #27179F
tetradic
#9F2717 #4B9F17 #178F9F #6B179F
square
#9F2717 #4B9F17 #178F9F #6B179F
split-complementary
#9F2717 #179F6B #174B9F
monochromatic
#340D08 #6A1A0F #9F2717 #D4341F #E55D4B
Accessibility & contrast
On white
7.56
#9F2717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F2717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2717
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2717 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#6A5E10
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2717; /* rgb */ color: rgb(159, 39, 23); /* oklch */ color: oklch(46.5% 0.159 31.0);
Tailwind
colors: {
custom: {
50: '#c56b56',
500: '#9f2717',
950: '#000000',
},
}SCSS
$custom: #9f2717; $custom-light: #c56b56; $custom-dark: #000000;
JSON
{
"hex": "#9f2717",
"rgb": {
"r": 159,
"g": 39,
"b": 23
},
"hsl": {
"h": 7.059,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46472,
"c": 0.15875,
"h": 31
},
"luminance": 0.08884
}Semantic roles & 50–950 ramp
primary
#9F2717
secondary
#4BB8C7
accent
#DBF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78