#7F1F2D#7F1F2D
#7F1F2D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.130 H 17.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F2D |
|---|---|
| RGB | rgb(127, 31, 45) |
| HSL | hsl(351, 61%, 31%) |
| HSV | hsv(351, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 64.6%, 50.2%) |
| CIE-LAB | lab(28.60, 41.56, 16.04) |
| CIE-LCH | lch(28.60, 44.55, 21.10°) |
| OKLab | oklab(40.07% 0.124 0.0388) |
| OKLCH | oklch(40.07% 0.13 17.4) |
| XYZ | xyz(9.7170, 5.6829, 3.0674) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.31
Burgundy
#800020
ΔE00 3.65
Bordeaux
#7B002C
ΔE00 4.79
Wine
#722F37
ΔE00 4.90
Red Wine
#8C0034
ΔE00 4.99
Claret
#680018
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F2D #1F7F71
analogous
#7F1F5D #7F1F2D #7F411F
triadic
#7F1F2D #2D7F1F #1F2D7F
tetradic
#7F1F2D #5D7F1F #1F7F71 #411F7F
square
#7F1F2D #5D7F1F #1F7F71 #411F7F
split-complementary
#7F1F2D #1F7F41 #1F5D7F
monochromatic
#1D070A #4E131C #7F1F2D #B02B3E #D2465B
Accessibility & contrast
On white
9.83
#7F1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F2D
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F2D | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39372D
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f2d; /* rgb */ color: rgb(127, 31, 45); /* oklch */ color: oklch(40.1% 0.130 17.4);
Tailwind
colors: {
custom: {
50: '#aa6365',
500: '#7f1f2d',
950: '#000000',
},
}SCSS
$custom: #7f1f2d; $custom-light: #aa6365; $custom-dark: #000000;
JSON
{
"hex": "#7f1f2d",
"rgb": {
"r": 127,
"g": 31,
"b": 45
},
"hsl": {
"h": 351.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40068,
"c": 0.12989,
"h": 17.4
},
"luminance": 0.05681
}Semantic roles & 50–950 ramp
primary
#7F1F2D
secondary
#48B2A3
accent
#E4CD44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A