#9F311F#9F311F
#9F311F is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.6% C 0.149 H 31.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9F311F |
|---|---|
| RGB | rgb(159, 49, 31) |
| HSL | hsl(8, 67%, 37%) |
| HSV | hsv(8, 81%, 62%) |
| CMYK | cmyk(0%, 69.2%, 80.5%, 37.6%) |
| CIE-LAB | lab(37.24, 44.53, 36.20) |
| CIE-LCH | lch(37.24, 57.39, 39.11°) |
| OKLab | oklab(47.6% 0.1263 0.0786) |
| OKLCH | oklch(47.6% 0.149 31.9) |
| XYZ | xyz(15.6455, 9.6688, 2.3385) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 1.00
Brick
#A03623
ΔE00 1.04
Burnt Red
#9F2305
ΔE00 4.13
Red Brown
#8B2E16
ΔE00 4.45
Firebrick
#B22222
ΔE00 4.52
Brown
#A52A2A
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F311F #1F8D9F
analogous
#9F1F4D #9F311F #9F711F
triadic
#9F311F #1F9F31 #311F9F
tetradic
#9F311F #4D9F1F #1F8D9F #711F9F
square
#9F311F #4D9F1F #1F8D9F #711F9F
split-complementary
#9F311F #1F9F71 #1F4D9F
monochromatic
#39110B #6C2115 #9F311F #D24129 #DF6C5A
Accessibility & contrast
On white
7.16
#9F311F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F311F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F311F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F311F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F311F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#6C611A
Tritanopia (blue-blind)
#AF0B2E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f311f; /* rgb */ color: rgb(159, 49, 31); /* oklch */ color: oklch(47.6% 0.149 31.9);
Tailwind
colors: {
custom: {
50: '#c4705c',
500: '#9f311f',
950: '#000000',
},
}SCSS
$custom: #9f311f; $custom-light: #c4705c; $custom-dark: #000000;
JSON
{
"hex": "#9f311f",
"rgb": {
"r": 159,
"g": 49,
"b": 31
},
"hsl": {
"h": 8.438,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.47599,
"c": 0.14873,
"h": 31.9
},
"luminance": 0.09666
}Semantic roles & 50–950 ramp
primary
#9F311F
secondary
#57B4C3
accent
#D2EA3E
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79