#7C171B#7C171B
#7C171B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.135 H 24.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171B |
|---|---|
| RGB | rgb(124, 23, 27) |
| HSL | hsl(358, 69%, 29%) |
| HSV | hsv(358, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 78.2%, 51.4%) |
| CIE-LAB | lab(26.67, 42.41, 25.28) |
| CIE-LCH | lch(26.67, 49.37, 30.80°) |
| OKLab | oklab(38.43% 0.123 0.0564) |
| OKLCH | oklch(38.43% 0.135 24.6) |
| XYZ | xyz(8.8175, 4.9784, 1.5334) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.16
Crimson (survey)
#8C000F
ΔE00 4.46
Blood
#770001
ΔE00 5.07
Rosewood
#65000B
ΔE00 5.37
Reddy Brown
#6E1005
ΔE00 5.39
Wine Red
#7B0323
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171B #177C78
analogous
#7C174E #7C171B #7C4617
triadic
#7C171B #1B7C17 #171B7C
tetradic
#7C171B #4E7C17 #177C78 #46177C
square
#7C171B #4E7C17 #177C78 #46177C
split-complementary
#7C171B #177C46 #174E7C
monochromatic
#1A0506 #480D10 #7C171B #B02126 #D9343B
Accessibility & contrast
On white
10.52
#7C171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7C171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171B
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171B | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171b; /* rgb */ color: rgb(124, 23, 27); /* oklch */ color: oklch(38.4% 0.135 24.6);
Tailwind
colors: {
custom: {
50: '#aa5f57',
500: '#7c171b',
950: '#000000',
},
}SCSS
$custom: #7c171b; $custom-light: #aa5f57; $custom-dark: #000000;
JSON
{
"hex": "#7c171b",
"rgb": {
"r": 124,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.624,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.3843,
"c": 0.1353,
"h": 24.6
},
"luminance": 0.04977
}Semantic roles & 50–950 ramp
primary
#7C171B
secondary
#3EB1AC
accent
#ECE53C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978