#7D1F2E#7D1F2E
#7D1F2E is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.128 H 16.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F2E |
|---|---|
| RGB | rgb(125, 31, 46) |
| HSL | hsl(350, 60%, 31%) |
| HSV | hsv(350, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 63.2%, 51%) |
| CIE-LAB | lab(28.22, 40.97, 14.80) |
| CIE-LCH | lch(28.22, 43.56, 19.86°) |
| OKLab | oklab(39.72% 0.1226 0.0361) |
| OKLCH | oklch(39.72% 0.128 16.4) |
| XYZ | xyz(9.4415, 5.5386, 3.1561) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.31
Burgundy
#800020
ΔE00 4.00
Bordeaux
#7B002C
ΔE00 4.30
Wine
#722F37
ΔE00 4.49
Red Wine
#8C0034
ΔE00 4.76
Claret
#680018
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F2E #1F7D6E
analogous
#7D1F5D #7D1F2E #7D3F1F
triadic
#7D1F2E #2E7D1F #1F2E7D
tetradic
#7D1F2E #5D7D1F #1F7D6E #3F1F7D
square
#7D1F2E #5D7D1F #1F7D6E #3F1F7D
split-complementary
#7D1F2E #1F7D3F #1F5D7D
monochromatic
#1B070A #4C131C #7D1F2E #AE2B40 #D1455C
Accessibility & contrast
On white
9.96
#7D1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7D1F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F2E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F2E | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#890225
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7d1f2e; /* rgb */ color: rgb(125, 31, 46); /* oklch */ color: oklch(39.7% 0.128 16.4);
Tailwind
colors: {
custom: {
50: '#a96366',
500: '#7d1f2e',
950: '#000000',
},
}SCSS
$custom: #7d1f2e; $custom-light: #a96366; $custom-dark: #000000;
JSON
{
"hex": "#7d1f2e",
"rgb": {
"r": 125,
"g": 31,
"b": 46
},
"hsl": {
"h": 350.426,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39718,
"c": 0.12775,
"h": 16.4
},
"luminance": 0.05537
}Semantic roles & 50–950 ramp
primary
#7D1F2E
secondary
#48B09F
accent
#E3CA44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A