#7C171D#7C171D
#7C171D is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 23.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171D |
|---|---|
| RGB | rgb(124, 23, 29) |
| HSL | hsl(356, 69%, 29%) |
| HSV | hsv(356, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 76.6%, 51.4%) |
| CIE-LAB | lab(26.70, 42.50, 24.04) |
| CIE-LCH | lch(26.70, 48.82, 29.49°) |
| OKLab | oklab(38.46% 0.1237 0.0542) |
| OKLCH | oklch(38.46% 0.135 23.7) |
| XYZ | xyz(8.8414, 4.9880, 1.6594) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.54
Wine Red
#7B0323
ΔE00 4.76
Crimson (survey)
#8C000F
ΔE00 4.98
Rosewood
#65000B
ΔE00 5.47
Claret
#680018
ΔE00 5.67
Blood
#770001
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171D #177C76
analogous
#7C1750 #7C171D #7C4417
triadic
#7C171D #1D7C17 #171D7C
tetradic
#7C171D #507C17 #177C76 #44177C
square
#7C171D #507C17 #177C76 #44177C
split-complementary
#7C171D #177C44 #17507C
monochromatic
#1A0506 #480D11 #7C171D #B02129 #D9343E
Accessibility & contrast
On white
10.51
#7C171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7C171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171D
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171D | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311C
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171d; /* rgb */ color: rgb(124, 23, 29); /* oklch */ color: oklch(38.5% 0.135 23.7);
Tailwind
colors: {
custom: {
50: '#aa5f59',
500: '#7c171d',
950: '#000000',
},
}SCSS
$custom: #7c171d; $custom-light: #aa5f59; $custom-dark: #000000;
JSON
{
"hex": "#7c171d",
"rgb": {
"r": 124,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.436,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38459,
"c": 0.13508,
"h": 23.7
},
"luminance": 0.04987
}Semantic roles & 50–950 ramp
primary
#7C171D
secondary
#3EB1AA
accent
#ECE13C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978