#7F2A2E#7F2A2E
#7F2A2E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.118 H 21.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A2E |
|---|---|
| RGB | rgb(127, 42, 46) |
| HSL | hsl(357, 50%, 33%) |
| HSV | hsv(357, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 63.8%, 50.2%) |
| CIE-LAB | lab(30.32, 36.98, 17.61) |
| CIE-LCH | lch(30.32, 40.96, 25.47°) |
| OKLab | oklab(41.36% 0.1096 0.0425) |
| OKLCH | oklch(41.36% 0.118 21.2) |
| XYZ | xyz(10.0745, 6.3666, 3.2826) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 4.79
Burgundy
#800020
ΔE00 5.30
Wine Red
#7B0323
ΔE00 5.58
Red Wine
#8C0034
ΔE00 7.45
Bordeaux
#7B002C
ΔE00 7.49
Claret
#680018
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A2E #2A7F7B
analogous
#7F2A58 #7F2A2E #7F502A
triadic
#7F2A2E #2E7F2A #2A2E7F
tetradic
#7F2A2E #587F2A #2A7F7B #502A7F
square
#7F2A2E #587F2A #2A7F7B #502A7F
split-complementary
#7F2A2E #2A7F50 #2A587F
monochromatic
#230C0D #511B1D #7F2A2E #AD393F #C95B60
Accessibility & contrast
On white
9.24
#7F2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F2A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A2E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A2E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#8B182C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2a2e; /* rgb */ color: rgb(127, 42, 46); /* oklch */ color: oklch(41.4% 0.118 21.2);
Tailwind
colors: {
custom: {
50: '#aa6866',
500: '#7f2a2e',
950: '#000000',
},
}SCSS
$custom: #7f2a2e; $custom-light: #aa6866; $custom-dark: #000000;
JSON
{
"hex": "#7f2a2e",
"rgb": {
"r": 127,
"g": 42,
"b": 46
},
"hsl": {
"h": 357.176,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.41358,
"c": 0.11751,
"h": 21.2
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#7F2A2E
secondary
#57AEAA
accent
#DAD34E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A