#7D172E#7D172E
#7D172E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 14.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7D172E |
|---|---|
| RGB | rgb(125, 23, 46) |
| HSL | hsl(346, 69%, 29%) |
| HSV | hsv(346, 82%, 49%) |
| CMYK | cmyk(0%, 81.6%, 63.2%, 51%) |
| CIE-LAB | lab(27.22, 43.77, 13.48) |
| CIE-LCH | lch(27.22, 45.80, 17.11°) |
| OKLab | oklab(38.98% 0.1316 0.033) |
| OKLCH | oklch(38.98% 0.136 14.1) |
| XYZ | xyz(9.2580, 5.1714, 3.0949) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.66
Wine Red
#7B0323
ΔE00 2.87
Red Wine
#8C0034
ΔE00 3.55
Burgundy
#800020
ΔE00 4.12
Wine
#722F37
ΔE00 5.29
Maroon (survey)
#650021
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D172E #177D66
analogous
#7D1761 #7D172E #7D3317
triadic
#7D172E #2E7D17 #172E7D
tetradic
#7D172E #617D17 #177D66 #33177D
square
#7D172E #617D17 #177D66 #33177D
split-complementary
#7D172E #177D33 #17617D
monochromatic
#1A050A #490D1B #7D172E #B12141 #DA355A
Accessibility & contrast
On white
10.32
#7D172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7D172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D172E
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D172E | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7d172e; /* rgb */ color: rgb(125, 23, 46); /* oklch */ color: oklch(39.0% 0.136 14.1);
Tailwind
colors: {
custom: {
50: '#a95f66',
500: '#7d172e',
950: '#000000',
},
}SCSS
$custom: #7d172e; $custom-light: #a95f66; $custom-dark: #000000;
JSON
{
"hex": "#7d172e",
"rgb": {
"r": 125,
"g": 23,
"b": 46
},
"hsl": {
"h": 346.471,
"s": 68.919,
"l": 29.02
},
"oklch": {
"l": 0.38978,
"c": 0.13562,
"h": 14.1
},
"luminance": 0.0517
}Semantic roles & 50–950 ramp
primary
#7D172E
secondary
#3EB298
accent
#ECC43C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A