#791817#791817
#791817 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.132 H 26.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #791817 |
|---|---|
| RGB | rgb(121, 24, 23) |
| HSL | hsl(1, 68%, 28%) |
| HSV | hsv(1, 81%, 47%) |
| CMYK | cmyk(0%, 80.2%, 81%, 52.5%) |
| CIE-LAB | lab(26.10, 40.95, 26.96) |
| CIE-LCH | lch(26.10, 49.03, 33.36°) |
| OKLab | oklab(37.88% 0.1178 0.0592) |
| OKLCH | oklch(37.88% 0.132 26.7) |
| XYZ | xyz(8.3674, 4.7814, 1.2928) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood
#770001
ΔE00 3.92
Reddy Brown
#6E1005
ΔE00 4.01
Crimson (survey)
#8C000F
ΔE00 4.23
Maroon
#800000
ΔE00 4.63
Dark Red
#840000
ΔE00 5.04
Rosewood
#65000B
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791817 #177879
analogous
#791747 #791817 #794917
triadic
#791817 #177918 #181779
tetradic
#791817 #477917 #177879 #491779
square
#791817 #477917 #177879 #491779
split-complementary
#791817 #177949 #174779
monochromatic
#1A0505 #460E0D #791817 #AC2221 #D83432
Accessibility & contrast
On white
10.74
#791817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#791817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791817
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791817 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#860019
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #791817; /* rgb */ color: rgb(121, 24, 23); /* oklch */ color: oklch(37.9% 0.132 26.7);
Tailwind
colors: {
custom: {
50: '#a85e54',
500: '#791817',
950: '#000000',
},
}SCSS
$custom: #791817; $custom-light: #a85e54; $custom-dark: #000000;
JSON
{
"hex": "#791817",
"rgb": {
"r": 121,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.612,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.37876,
"c": 0.13183,
"h": 26.7
},
"luminance": 0.0478
}Semantic roles & 50–950 ramp
primary
#791817
secondary
#3EADAE
accent
#E9EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978