#7A171B#7A171B
#7A171B is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.133 H 24.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7A171B |
|---|---|
| RGB | rgb(122, 23, 27) |
| HSL | hsl(358, 68%, 28%) |
| HSV | hsv(358, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 77.9%, 52.2%) |
| CIE-LAB | lab(26.25, 41.77, 24.68) |
| CIE-LCH | lch(26.25, 48.52, 30.58°) |
| OKLab | oklab(38.04% 0.1212 0.0553) |
| OKLCH | oklch(38.04% 0.133 24.5) |
| XYZ | xyz(8.5313, 4.8308, 1.5199) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.08
Crimson (survey)
#8C000F
ΔE00 4.83
Rosewood
#65000B
ΔE00 5.05
Blood
#770001
ΔE00 5.14
Wine Red
#7B0323
ΔE00 5.25
Reddy Brown
#6E1005
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A171B #177A76
analogous
#7A174C #7A171B #7A4417
triadic
#7A171B #1B7A17 #171B7A
tetradic
#7A171B #4C7A17 #177A76 #44177A
square
#7A171B #4C7A17 #177A76 #44177A
split-complementary
#7A171B #177A44 #174C7A
monochromatic
#1A0506 #470D10 #7A171B #AD2126 #D9333A
Accessibility & contrast
On white
10.68
#7A171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#7A171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A171B
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A171B | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36301A
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#87001A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7a171b; /* rgb */ color: rgb(122, 23, 27); /* oklch */ color: oklch(38.0% 0.133 24.5);
Tailwind
colors: {
custom: {
50: '#a85e57',
500: '#7a171b',
950: '#000000',
},
}SCSS
$custom: #7a171b; $custom-light: #a85e57; $custom-dark: #000000;
JSON
{
"hex": "#7a171b",
"rgb": {
"r": 122,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.576,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38038,
"c": 0.13322,
"h": 24.5
},
"luminance": 0.04829
}Semantic roles & 50–950 ramp
primary
#7A171B
secondary
#3EAFAA
accent
#EBE43D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978