#792817#792817
#792817 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.7% C 0.117 H 33.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #792817 |
|---|---|
| RGB | rgb(121, 40, 23) |
| HSL | hsl(10, 68%, 28%) |
| HSV | hsv(10, 81%, 47%) |
| CMYK | cmyk(0%, 66.9%, 81%, 52.5%) |
| CIE-LAB | lab(28.50, 34.38, 29.46) |
| CIE-LCH | lch(28.50, 45.28, 40.60°) |
| OKLab | oklab(39.67% 0.0973 0.0646) |
| OKLCH | oklch(39.67% 0.117 33.6) |
| XYZ | xyz(8.7996, 5.6457, 1.4368) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.27
Reddish Brown
#7F2B0A
ΔE00 4.38
Indian Red
#850E04
ΔE00 4.69
Reddy Brown
#6E1005
ΔE00 4.72
Maroon
#800000
ΔE00 5.37
Dark Red
#840000
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792817 #176879
analogous
#791737 #792817 #795917
triadic
#792817 #177928 #281779
tetradic
#792817 #377917 #176879 #591779
square
#792817 #377917 #176879 #591779
split-complementary
#792817 #177959 #173779
monochromatic
#1A0805 #46170D #792817 #AC3921 #D84F32
Accessibility & contrast
On white
9.86
#792817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#792817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792817
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792817 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#861225
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #792817; /* rgb */ color: rgb(121, 40, 23); /* oklch */ color: oklch(39.7% 0.117 33.6);
Tailwind
colors: {
custom: {
50: '#a76655',
500: '#792817',
950: '#000000',
},
}SCSS
$custom: #792817; $custom-light: #a76655; $custom-dark: #000000;
JSON
{
"hex": "#792817",
"rgb": {
"r": 121,
"g": 40,
"b": 23
},
"hsl": {
"h": 10.408,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.39671,
"c": 0.11676,
"h": 33.6
},
"luminance": 0.05644
}Semantic roles & 50–950 ramp
primary
#792817
secondary
#3E9BAE
accent
#CDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78