#791B17#791B17
#791B17 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.129 H 27.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #791B17 |
|---|---|
| RGB | rgb(121, 27, 23) |
| HSL | hsl(2, 68%, 28%) |
| HSV | hsv(2, 81%, 47%) |
| CMYK | cmyk(0%, 77.7%, 81%, 52.5%) |
| CIE-LAB | lab(26.48, 39.89, 27.37) |
| CIE-LCH | lch(26.48, 48.37, 34.45°) |
| OKLab | oklab(38.16% 0.1145 0.06) |
| OKLCH | oklch(38.16% 0.129 27.7) |
| XYZ | xyz(8.4327, 4.9120, 1.3145) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.80
Blood
#770001
ΔE00 3.88
Crimson (survey)
#8C000F
ΔE00 4.27
Maroon
#800000
ΔE00 4.45
Indian Red
#850E04
ΔE00 4.76
Dark Red
#840000
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791B17 #177579
analogous
#791744 #791B17 #794C17
triadic
#791B17 #17791B #1B1779
tetradic
#791B17 #447917 #177579 #4C1779
square
#791B17 #447917 #177579 #4C1779
split-complementary
#791B17 #17794C #174479
monochromatic
#1A0605 #46100D #791B17 #AC2621 #D83932
Accessibility & contrast
On white
10.59
#791B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#791B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791B17
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791B17 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#86001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #791b17; /* rgb */ color: rgb(121, 27, 23); /* oklch */ color: oklch(38.2% 0.129 27.7);
Tailwind
colors: {
custom: {
50: '#a76054',
500: '#791b17',
950: '#000000',
},
}SCSS
$custom: #791b17; $custom-light: #a76054; $custom-dark: #000000;
JSON
{
"hex": "#791b17",
"rgb": {
"r": 121,
"g": 27,
"b": 23
},
"hsl": {
"h": 2.449,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.38159,
"c": 0.12926,
"h": 27.7
},
"luminance": 0.04911
}Semantic roles & 50–950 ramp
primary
#791B17
secondary
#3EA9AE
accent
#E4EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978