#792F17#792F17
#792F17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.7% C 0.110 H 38.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #792F17 |
|---|---|
| RGB | rgb(121, 47, 23) |
| HSL | hsl(15, 68%, 28%) |
| HSV | hsv(15, 81%, 47%) |
| CMYK | cmyk(0%, 61.2%, 81%, 52.5%) |
| CIE-LAB | lab(29.82, 30.90, 30.81) |
| CIE-LCH | lch(29.82, 43.63, 44.91°) |
| OKLab | oklab(40.66% 0.0865 0.0675) |
| OKLCH | oklch(40.66% 0.11 38) |
| XYZ | xyz(9.0573, 6.1611, 1.5227) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.80
Red Brown
#8B2E16
ΔE00 3.85
Chestnut
#742802
ΔE00 3.88
Rust Brown
#8B3103
ΔE00 5.84
Brown Red
#922B05
ΔE00 5.99
Indian Red
#850E04
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F17 #176179
analogous
#791730 #792F17 #796017
triadic
#792F17 #17792F #2F1779
tetradic
#792F17 #307917 #176179 #601779
square
#792F17 #307917 #176179 #601779
split-complementary
#792F17 #177960 #173079
monochromatic
#1A0A05 #461B0D #792F17 #AC4321 #D85B32
Accessibility & contrast
On white
9.41
#792F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#792F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F17
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F17 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#851E2A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #792f17; /* rgb */ color: rgb(121, 47, 23); /* oklch */ color: oklch(40.7% 0.110 38.0);
Tailwind
colors: {
custom: {
50: '#a66a56',
500: '#792f17',
950: '#000000',
},
}SCSS
$custom: #792f17; $custom-light: #a66a56; $custom-dark: #000000;
JSON
{
"hex": "#792f17",
"rgb": {
"r": 121,
"g": 47,
"b": 23
},
"hsl": {
"h": 14.694,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.40663,
"c": 0.10974,
"h": 38
},
"luminance": 0.0616
}Semantic roles & 50–950 ramp
primary
#792F17
secondary
#3E93AE
accent
#C0EB3D
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110703
muted
#807A78