#791F27#791F27
#791F27 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.124 H 20.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #791F27 |
|---|---|
| RGB | rgb(121, 31, 39) |
| HSL | hsl(355, 59%, 30%) |
| HSV | hsv(355, 74%, 47%) |
| CMYK | cmyk(0%, 74.4%, 67.8%, 52.5%) |
| CIE-LAB | lab(27.28, 39.16, 18.07) |
| CIE-LCH | lch(27.28, 43.13, 24.77°) |
| OKLab | oklab(38.83% 0.1159 0.043) |
| OKLCH | oklch(38.83% 0.124 20.3) |
| XYZ | xyz(8.7423, 5.1927, 2.4610) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.45
Wine Red
#7B0323
ΔE00 3.52
Claret
#680018
ΔE00 5.29
Wine
#722F37
ΔE00 5.32
Bordeaux
#7B002C
ΔE00 6.01
Rosewood
#65000B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#791F27 #1F7971
analogous
#791F54 #791F27 #79441F
triadic
#791F27 #27791F #1F2779
tetradic
#791F27 #54791F #1F7971 #441F79
square
#791F27 #54791F #1F7971 #441F79
split-complementary
#791F27 #1F7944 #1F5479
monochromatic
#180608 #481317 #791F27 #AA2B37 #CF4350
Accessibility & contrast
On white
10.30
#791F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#791F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #791F27
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##791F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##791F27 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#850223
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #791f27; /* rgb */ color: rgb(121, 31, 39); /* oklch */ color: oklch(38.8% 0.124 20.3);
Tailwind
colors: {
custom: {
50: '#a66261',
500: '#791f27',
950: '#000000',
},
}SCSS
$custom: #791f27; $custom-light: #a66261; $custom-dark: #000000;
JSON
{
"hex": "#791f27",
"rgb": {
"r": 121,
"g": 31,
"b": 39
},
"hsl": {
"h": 354.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.38828,
"c": 0.12356,
"h": 20.3
},
"luminance": 0.05191
}Semantic roles & 50–950 ramp
primary
#791F27
secondary
#47ACA3
accent
#E2D445
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110505
muted
#807A79