#7C171E#7C171E
#7C171E is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 23.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171E |
|---|---|
| RGB | rgb(124, 23, 30) |
| HSL | hsl(356, 69%, 29%) |
| HSV | hsv(356, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 75.8%, 51.4%) |
| CIE-LAB | lab(26.71, 42.54, 23.41) |
| CIE-LCH | lch(26.71, 48.56, 28.82°) |
| OKLab | oklab(38.47% 0.1241 0.0531) |
| OKLCH | oklch(38.47% 0.135 23.2) |
| XYZ | xyz(8.8540, 4.9930, 1.7256) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.25
Wine Red
#7B0323
ΔE00 4.42
Crimson (survey)
#8C000F
ΔE00 5.26
Claret
#680018
ΔE00 5.49
Rosewood
#65000B
ΔE00 5.55
Blood
#770001
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171E #177C75
analogous
#7C1751 #7C171E #7C4317
triadic
#7C171E #1E7C17 #171E7C
tetradic
#7C171E #517C17 #177C75 #43177C
square
#7C171E #517C17 #177C75 #43177C
split-complementary
#7C171E #177C43 #17517C
monochromatic
#1A0506 #480D12 #7C171E #B0212A #D93440
Accessibility & contrast
On white
10.51
#7C171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7C171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171E
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171E | 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)
#36311D
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#89001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171e; /* rgb */ color: rgb(124, 23, 30); /* oklch */ color: oklch(38.5% 0.135 23.2);
Tailwind
colors: {
custom: {
50: '#aa5f59',
500: '#7c171e',
950: '#000000',
},
}SCSS
$custom: #7c171e; $custom-light: #aa5f59; $custom-dark: #000000;
JSON
{
"hex": "#7c171e",
"rgb": {
"r": 124,
"g": 23,
"b": 30
},
"hsl": {
"h": 355.842,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38474,
"c": 0.13498,
"h": 23.2
},
"luminance": 0.04992
}Semantic roles & 50–950 ramp
primary
#7C171E
secondary
#3EB1A9
accent
#ECDF3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978