#7F1F2E#7F1F2E
#7F1F2E is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.130 H 16.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F2E |
|---|---|
| RGB | rgb(127, 31, 46) |
| HSL | hsl(351, 61%, 31%) |
| HSV | hsv(351, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 63.8%, 50.2%) |
| CIE-LAB | lab(28.62, 41.63, 15.40) |
| CIE-LCH | lch(28.62, 44.39, 20.30°) |
| OKLab | oklab(40.09% 0.1244 0.0374) |
| OKLCH | oklch(40.09% 0.13 16.7) |
| XYZ | xyz(9.7365, 5.6907, 3.1700) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.36
Burgundy
#800020
ΔE00 3.85
Bordeaux
#7B002C
ΔE00 4.53
Red Wine
#8C0034
ΔE00 4.71
Wine
#722F37
ΔE00 4.76
Claret
#680018
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F2E #1F7F70
analogous
#7F1F5E #7F1F2E #7F401F
triadic
#7F1F2E #2E7F1F #1F2E7F
tetradic
#7F1F2E #5E7F1F #1F7F70 #401F7F
square
#7F1F2E #5E7F1F #1F7F70 #401F7F
split-complementary
#7F1F2E #1F7F40 #1F5E7F
monochromatic
#1D070A #4E131C #7F1F2E #B02B40 #D2465C
Accessibility & contrast
On white
9.82
#7F1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F2E
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F2E | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39372E
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f2e; /* rgb */ color: rgb(127, 31, 46); /* oklch */ color: oklch(40.1% 0.130 16.7);
Tailwind
colors: {
custom: {
50: '#aa6366',
500: '#7f1f2e',
950: '#000000',
},
}SCSS
$custom: #7f1f2e; $custom-light: #aa6366; $custom-dark: #000000;
JSON
{
"hex": "#7f1f2e",
"rgb": {
"r": 127,
"g": 31,
"b": 46
},
"hsl": {
"h": 350.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40089,
"c": 0.12989,
"h": 16.7
},
"luminance": 0.05689
}Semantic roles & 50–950 ramp
primary
#7F1F2E
secondary
#48B2A1
accent
#E4CB44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A