#7C171F#7C171F
#7C171F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 22.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171F |
|---|---|
| RGB | rgb(124, 23, 31) |
| HSL | hsl(355, 69%, 29%) |
| HSV | hsv(355, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 75%, 51.4%) |
| CIE-LAB | lab(26.73, 42.59, 22.78) |
| CIE-LCH | lch(26.73, 48.30, 28.14°) |
| OKLab | oklab(38.49% 0.1245 0.0519) |
| OKLCH | oklch(38.49% 0.135 22.6) |
| XYZ | xyz(8.8669, 4.9982, 1.7939) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.97
Wine Red
#7B0323
ΔE00 4.09
Claret
#680018
ΔE00 5.33
Crimson (survey)
#8C000F
ΔE00 5.56
Rosewood
#65000B
ΔE00 5.65
Blood
#770001
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171F #177C74
analogous
#7C1752 #7C171F #7C4217
triadic
#7C171F #1F7C17 #171F7C
tetradic
#7C171F #527C17 #177C74 #42177C
square
#7C171F #527C17 #177C74 #42177C
split-complementary
#7C171F #177C42 #17527C
monochromatic
#1A0506 #480D12 #7C171F #B0212C #D93441
Accessibility & contrast
On white
10.50
#7C171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7C171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171F
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171F | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#89001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171f; /* rgb */ color: rgb(124, 23, 31); /* oklch */ color: oklch(38.5% 0.135 22.6);
Tailwind
colors: {
custom: {
50: '#a95f5a',
500: '#7c171f',
950: '#000000',
},
}SCSS
$custom: #7c171f; $custom-light: #a95f5a; $custom-dark: #000000;
JSON
{
"hex": "#7c171f",
"rgb": {
"r": 124,
"g": 23,
"b": 31
},
"hsl": {
"h": 355.248,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.3849,
"c": 0.13489,
"h": 22.6
},
"luminance": 0.04997
}Semantic roles & 50–950 ramp
primary
#7C171F
secondary
#3EB1A8
accent
#ECDE3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979