#7C172E#7C172E
#7C172E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 13.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7C172E |
|---|---|
| RGB | rgb(124, 23, 46) |
| HSL | hsl(346, 69%, 29%) |
| HSV | hsv(346, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 62.9%, 51.4%) |
| CIE-LAB | lab(27.01, 43.47, 13.16) |
| CIE-LCH | lch(27.01, 45.41, 16.84°) |
| OKLab | oklab(38.78% 0.1307 0.0323) |
| OKLCH | oklch(38.78% 0.135 13.9) |
| XYZ | xyz(9.1127, 5.0965, 3.0881) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.54
Wine Red
#7B0323
ΔE00 2.93
Red Wine
#8C0034
ΔE00 3.64
Burgundy
#800020
ΔE00 4.26
Wine
#722F37
ΔE00 5.23
Maroon (survey)
#650021
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C172E #177C65
analogous
#7C1761 #7C172E #7C3317
triadic
#7C172E #2E7C17 #172E7C
tetradic
#7C172E #617C17 #177C65 #33177C
square
#7C172E #617C17 #177C65 #33177C
split-complementary
#7C172E #177C33 #17617C
monochromatic
#1A050A #480D1B #7C172E #B02141 #D9345A
Accessibility & contrast
On white
10.40
#7C172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7C172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C172E
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C172E | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7c172e; /* rgb */ color: rgb(124, 23, 46); /* oklch */ color: oklch(38.8% 0.135 13.9);
Tailwind
colors: {
custom: {
50: '#a85f66',
500: '#7c172e',
950: '#000000',
},
}SCSS
$custom: #7c172e; $custom-light: #a85f66; $custom-dark: #000000;
JSON
{
"hex": "#7c172e",
"rgb": {
"r": 124,
"g": 23,
"b": 46
},
"hsl": {
"h": 346.337,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.38785,
"c": 0.13463,
"h": 13.9
},
"luminance": 0.05095
}Semantic roles & 50–950 ramp
primary
#7C172E
secondary
#3EB197
accent
#ECC43C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A