#7D1F2D#7D1F2D
#7D1F2D is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.128 H 17.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F2D |
|---|---|
| RGB | rgb(125, 31, 45) |
| HSL | hsl(351, 60%, 31%) |
| HSV | hsv(351, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 64%, 51%) |
| CIE-LAB | lab(28.20, 40.90, 15.44) |
| CIE-LCH | lch(28.20, 43.72, 20.68°) |
| OKLab | oklab(39.7% 0.1221 0.0375) |
| OKLCH | oklch(39.7% 0.128 17) |
| XYZ | xyz(9.4220, 5.5308, 3.0535) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.24
Burgundy
#800020
ΔE00 3.78
Bordeaux
#7B002C
ΔE00 4.56
Wine
#722F37
ΔE00 4.62
Red Wine
#8C0034
ΔE00 5.02
Claret
#680018
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F2D #1F7D6F
analogous
#7D1F5C #7D1F2D #7D401F
triadic
#7D1F2D #2D7D1F #1F2D7D
tetradic
#7D1F2D #5C7D1F #1F7D6F #401F7D
square
#7D1F2D #5C7D1F #1F7D6F #401F7D
split-complementary
#7D1F2D #1F7D40 #1F5C7D
monochromatic
#1B070A #4C131B #7D1F2D #AE2B3F #D1455A
Accessibility & contrast
On white
9.97
#7D1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7D1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F2D
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F2D | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362D
Deuteranopia (green-blind)
#504A2A
Tritanopia (blue-blind)
#890225
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7d1f2d; /* rgb */ color: rgb(125, 31, 45); /* oklch */ color: oklch(39.7% 0.128 17.0);
Tailwind
colors: {
custom: {
50: '#a96365',
500: '#7d1f2d',
950: '#000000',
},
}SCSS
$custom: #7d1f2d; $custom-light: #a96365; $custom-dark: #000000;
JSON
{
"hex": "#7d1f2d",
"rgb": {
"r": 125,
"g": 31,
"b": 45
},
"hsl": {
"h": 351.064,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39696,
"c": 0.12774,
"h": 17
},
"luminance": 0.05529
}Semantic roles & 50–950 ramp
primary
#7D1F2D
secondary
#48B0A1
accent
#E3CC44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A