#7D1F31#7D1F31
#7D1F31 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 14.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F31 |
|---|---|
| RGB | rgb(125, 31, 49) |
| HSL | hsl(349, 60%, 31%) |
| HSV | hsv(349, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 60.8%, 51%) |
| CIE-LAB | lab(28.28, 41.19, 12.89) |
| CIE-LCH | lch(28.28, 43.16, 17.37°) |
| OKLab | oklab(39.79% 0.1238 0.0318) |
| OKLCH | oklch(39.79% 0.128 14.4) |
| XYZ | xyz(9.5027, 5.5631, 3.4785) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.70
Wine Red
#7B0323
ΔE00 3.79
Red Wine
#8C0034
ΔE00 4.12
Wine
#722F37
ΔE00 4.27
Burgundy
#800020
ΔE00 4.79
Maroon (survey)
#650021
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F31 #1F7D6B
analogous
#7D1F60 #7D1F31 #7D3C1F
triadic
#7D1F31 #317D1F #1F317D
tetradic
#7D1F31 #607D1F #1F7D6B #3C1F7D
square
#7D1F31 #607D1F #1F7D6B #3C1F7D
split-complementary
#7D1F31 #1F7D3C #1F607D
monochromatic
#1B070B #4C131E #7D1F31 #AE2B44 #D14560
Accessibility & contrast
On white
9.94
#7D1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7D1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F31
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F31 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383631
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#890426
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7d1f31; /* rgb */ color: rgb(125, 31, 49); /* oklch */ color: oklch(39.8% 0.128 14.4);
Tailwind
colors: {
custom: {
50: '#a86368',
500: '#7d1f31',
950: '#000000',
},
}SCSS
$custom: #7d1f31; $custom-light: #a86368; $custom-dark: #000000;
JSON
{
"hex": "#7d1f31",
"rgb": {
"r": 125,
"g": 31,
"b": 49
},
"hsl": {
"h": 348.511,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.39788,
"c": 0.12785,
"h": 14.4
},
"luminance": 0.05562
}Semantic roles & 50–950 ramp
primary
#7D1F31
secondary
#48B09C
accent
#E3C544
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A