#7A171E#7A171E
#7A171E is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.133 H 23.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A171E |
|---|---|
| RGB | rgb(122, 23, 30) |
| HSL | hsl(356, 68%, 28%) |
| HSV | hsv(356, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 75.4%, 52.2%) |
| CIE-LAB | lab(26.29, 41.90, 22.81) |
| CIE-LCH | lch(26.29, 47.71, 28.56°) |
| OKLab | oklab(38.08% 0.1224 0.0519) |
| OKLCH | oklch(38.08% 0.133 23) |
| XYZ | xyz(8.5678, 4.8455, 1.7122) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.20
Wine Red
#7B0323
ΔE00 4.23
Claret
#680018
ΔE00 5.11
Rosewood
#65000B
ΔE00 5.28
Crimson (survey)
#8C000F
ΔE00 5.62
Blood
#770001
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A171E #177A73
analogous
#7A174F #7A171E #7A4117
triadic
#7A171E #1E7A17 #171E7A
tetradic
#7A171E #4F7A17 #177A73 #41177A
square
#7A171E #4F7A17 #177A73 #41177A
split-complementary
#7A171E #177A41 #174F7A
monochromatic
#1A0506 #470D11 #7A171E #AD212B #D9333F
Accessibility & contrast
On white
10.67
#7A171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#7A171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A171E
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A171E | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35311D
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7a171e; /* rgb */ color: rgb(122, 23, 30); /* oklch */ color: oklch(38.1% 0.133 23.0);
Tailwind
colors: {
custom: {
50: '#a85e59',
500: '#7a171e',
950: '#000000',
},
}SCSS
$custom: #7a171e; $custom-light: #a85e59; $custom-dark: #000000;
JSON
{
"hex": "#7a171e",
"rgb": {
"r": 122,
"g": 23,
"b": 30
},
"hsl": {
"h": 355.758,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38083,
"c": 0.13291,
"h": 23
},
"luminance": 0.04844
}Semantic roles & 50–950 ramp
primary
#7A171E
secondary
#3EAFA7
accent
#EBDF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978