#9F1F1E#9F1F1E
#9F1F1E is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.164 H 26.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F1E |
|---|---|
| RGB | rgb(159, 31, 30) |
| HSL | hsl(0, 68%, 37%) |
| HSV | hsv(0, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 81.1%, 37.6%) |
| CIE-LAB | lab(34.90, 50.96, 34.40) |
| CIE-LCH | lch(34.90, 61.48, 34.02°) |
| OKLab | oklab(45.85% 0.1462 0.0743) |
| OKLCH | oklch(45.85% 0.164 26.9) |
| XYZ | xyz(15.0242, 8.4471, 2.0674) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.48
Brown
#A52A2A
ΔE00 2.80
Firebrick
#B22222
ΔE00 3.87
Darkish Red
#A90308
ΔE00 4.24
Brownish Red
#9E3623
ΔE00 4.57
Brick
#A03623
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F1E #1E9E9F
analogous
#9F1E5E #9F1F1E #9F601E
triadic
#9F1F1E #1E9F1F #1F1E9F
tetradic
#9F1F1E #5E9F1E #1E9E9F #601E9F
square
#9F1F1E #5E9F1E #1E9E9F #601E9F
split-complementary
#9F1F1E #1E9F60 #1E5E9F
monochromatic
#380B0B #6C1514 #9F1F1E #D22928 #DF5958
Accessibility & contrast
On white
7.81
#9F1F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F1E
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F1E | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48401C
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f1e; /* rgb */ color: rgb(159, 31, 30); /* oklch */ color: oklch(45.8% 0.164 26.9);
Tailwind
colors: {
custom: {
50: '#c5685b',
500: '#9f1f1e',
950: '#000000',
},
}SCSS
$custom: #9f1f1e; $custom-light: #c5685b; $custom-dark: #000000;
JSON
{
"hex": "#9f1f1e",
"rgb": {
"r": 159,
"g": 31,
"b": 30
},
"hsl": {
"h": 0.465,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.45846,
"c": 0.16399,
"h": 26.9
},
"luminance": 0.08445
}Semantic roles & 50–950 ramp
primary
#9F1F1E
secondary
#56C2C3
accent
#EAEB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79