#791A1F#791A1F
#791A1F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 23.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #791A1F |
|---|---|
| RGB | rgb(121, 26, 31) |
| HSL | hsl(357, 65%, 29%) |
| HSV | hsv(357, 79%, 47%) |
| CMYK | cmyk(0%, 78.5%, 74.4%, 52.5%) |
| CIE-LAB | lab(26.46, 40.61, 22.31) |
| CIE-LCH | lch(26.46, 46.33, 28.78°) |
| OKLab | oklab(38.18% 0.1186 0.0511) |
| OKLCH | oklch(38.18% 0.129 23.3) |
| XYZ | xyz(8.5028, 4.9040, 1.7949) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.54
Wine Red
#7B0323
ΔE00 4.45
Claret
#680018
ΔE00 5.24
Rosewood
#65000B
ΔE00 5.38
Crimson (survey)
#8C000F
ΔE00 5.84
Blood
#770001
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791A1F #1A7974
analogous
#791A4F #791A1F #79451A
triadic
#791A1F #1F791A #1A1F79
tetradic
#791A1F #4F791A #1A7974 #451A79
square
#791A1F #4F791A #1A7974 #451A79
split-complementary
#791A1F #1A7945 #1A4F79
monochromatic
#190506 #470F12 #791A1F #AB252C #D43941
Accessibility & contrast
On white
10.60
#791A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#791A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791A1F
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791A1F | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#86001D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #791a1f; /* rgb */ color: rgb(121, 26, 31); /* oklch */ color: oklch(38.2% 0.129 23.3);
Tailwind
colors: {
custom: {
50: '#a75f5a',
500: '#791a1f',
950: '#000000',
},
}SCSS
$custom: #791a1f; $custom-light: #a75f5a; $custom-dark: #000000;
JSON
{
"hex": "#791a1f",
"rgb": {
"r": 121,
"g": 26,
"b": 31
},
"hsl": {
"h": 356.842,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.38176,
"c": 0.12914,
"h": 23.3
},
"luminance": 0.04903
}Semantic roles & 50–950 ramp
primary
#791A1F
secondary
#41ADA8
accent
#E8DF40
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979