#7C171A#7C171A
#7C171A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.135 H 25.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171A |
|---|---|
| RGB | rgb(124, 23, 26) |
| HSL | hsl(358, 69%, 29%) |
| HSV | hsv(358, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 79%, 51.4%) |
| CIE-LAB | lab(26.66, 42.37, 25.89) |
| CIE-LCH | lch(26.66, 49.65, 31.43°) |
| OKLab | oklab(38.42% 0.1226 0.0575) |
| OKLCH | oklch(38.42% 0.135 25.1) |
| XYZ | xyz(8.8061, 4.9739, 1.4735) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.23
Burgundy
#800020
ΔE00 4.48
Blood
#770001
ΔE00 4.76
Reddy Brown
#6E1005
ΔE00 5.10
Maroon
#800000
ΔE00 5.35
Rosewood
#65000B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171A #177C79
analogous
#7C174D #7C171A #7C4717
triadic
#7C171A #1A7C17 #171A7C
tetradic
#7C171A #4D7C17 #177C79 #47177C
square
#7C171A #4D7C17 #177C79 #47177C
split-complementary
#7C171A #177C47 #174D7C
monochromatic
#1A0505 #480D0F #7C171A #B02125 #D93439
Accessibility & contrast
On white
10.53
#7C171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7C171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171A
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171A | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171a; /* rgb */ color: rgb(124, 23, 26); /* oklch */ color: oklch(38.4% 0.135 25.1);
Tailwind
colors: {
custom: {
50: '#aa5f56',
500: '#7c171a',
950: '#000000',
},
}SCSS
$custom: #7c171a; $custom-light: #aa5f56; $custom-dark: #000000;
JSON
{
"hex": "#7c171a",
"rgb": {
"r": 124,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.218,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38416,
"c": 0.13541,
"h": 25.1
},
"luminance": 0.04972
}Semantic roles & 50–950 ramp
primary
#7C171A
secondary
#3EB1AD
accent
#ECE63C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978