#7D172C#7D172C
#7D172C is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 15.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7D172C |
|---|---|
| RGB | rgb(125, 23, 44) |
| HSL | hsl(348, 69%, 29%) |
| HSV | hsv(348, 82%, 49%) |
| CMYK | cmyk(0%, 81.6%, 64.8%, 51%) |
| CIE-LAB | lab(27.17, 43.64, 14.77) |
| CIE-LCH | lch(27.17, 46.07, 18.69°) |
| OKLab | oklab(38.93% 0.1307 0.0358) |
| OKLCH | oklch(38.93% 0.136 15.3) |
| XYZ | xyz(9.2194, 5.1560, 2.8921) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.39
Bordeaux
#7B002C
ΔE00 3.15
Burgundy
#800020
ΔE00 3.48
Red Wine
#8C0034
ΔE00 4.00
Wine
#722F37
ΔE00 5.39
Claret
#680018
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D172C #177D68
analogous
#7D175F #7D172C #7D3517
triadic
#7D172C #2C7D17 #172C7D
tetradic
#7D172C #5F7D17 #177D68 #35177D
square
#7D172C #5F7D17 #177D68 #35177D
split-complementary
#7D172C #177D35 #175F7D
monochromatic
#1A0509 #490D1A #7D172C #B1213E #DA3557
Accessibility & contrast
On white
10.34
#7D172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7D172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D172C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D172C | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7d172c; /* rgb */ color: rgb(125, 23, 44); /* oklch */ color: oklch(38.9% 0.136 15.3);
Tailwind
colors: {
custom: {
50: '#a95f64',
500: '#7d172c',
950: '#000000',
},
}SCSS
$custom: #7d172c; $custom-light: #a95f64; $custom-dark: #000000;
JSON
{
"hex": "#7d172c",
"rgb": {
"r": 125,
"g": 23,
"b": 44
},
"hsl": {
"h": 347.647,
"s": 68.919,
"l": 29.02
},
"oklch": {
"l": 0.38932,
"c": 0.13552,
"h": 15.3
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#7D172C
secondary
#3EB29A
accent
#ECC83C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A