#7C171C#7C171C
#7C171C is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.135 H 24.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C171C |
|---|---|
| RGB | rgb(124, 23, 28) |
| HSL | hsl(357, 69%, 29%) |
| HSV | hsv(357, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 77.4%, 51.4%) |
| CIE-LAB | lab(26.69, 42.45, 24.66) |
| CIE-LCH | lch(26.69, 49.09, 30.15°) |
| OKLab | oklab(38.44% 0.1233 0.0553) |
| OKLCH | oklch(38.44% 0.135 24.2) |
| XYZ | xyz(8.8292, 4.9831, 1.5953) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.85
Crimson (survey)
#8C000F
ΔE00 4.71
Wine Red
#7B0323
ΔE00 5.10
Blood
#770001
ΔE00 5.39
Rosewood
#65000B
ΔE00 5.41
Reddy Brown
#6E1005
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C171C #177C77
analogous
#7C174F #7C171C #7C4517
triadic
#7C171C #1C7C17 #171C7C
tetradic
#7C171C #4F7C17 #177C77 #45177C
square
#7C171C #4F7C17 #177C77 #45177C
split-complementary
#7C171C #177C45 #174F7C
monochromatic
#1A0506 #480D10 #7C171C #B02128 #D9343C
Accessibility & contrast
On white
10.52
#7C171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7C171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C171C
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C171C | 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)
#36311B
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c171c; /* rgb */ color: rgb(124, 23, 28); /* oklch */ color: oklch(38.4% 0.135 24.2);
Tailwind
colors: {
custom: {
50: '#aa5f58',
500: '#7c171c',
950: '#000000',
},
}SCSS
$custom: #7c171c; $custom-light: #aa5f58; $custom-dark: #000000;
JSON
{
"hex": "#7c171c",
"rgb": {
"r": 124,
"g": 23,
"b": 28
},
"hsl": {
"h": 357.03,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38444,
"c": 0.13518,
"h": 24.2
},
"luminance": 0.04982
}Semantic roles & 50–950 ramp
primary
#7C171C
secondary
#3EB1AB
accent
#ECE33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978