#7E2A2A#7E2A2A
#7E2A2A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.117 H 23.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A2A |
|---|---|
| RGB | rgb(126, 42, 42) |
| HSL | hsl(0, 50%, 33%) |
| HSV | hsv(0, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 66.7%, 50.6%) |
| CIE-LAB | lab(30.06, 36.33, 19.83) |
| CIE-LCH | lch(30.06, 41.39, 28.62°) |
| OKLab | oklab(41.11% 0.1069 0.0471) |
| OKLCH | oklch(41.11% 0.117 23.8) |
| XYZ | xyz(9.8510, 6.2601, 2.8796) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.60
Wine
#722F37
ΔE00 5.85
Wine Red
#7B0323
ΔE00 6.21
Crimson (survey)
#8C000F
ΔE00 7.16
Claret
#680018
ΔE00 7.83
Carmine
#9D0216
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A2A #2A7E7E
analogous
#7E2A54 #7E2A2A #7E542A
triadic
#7E2A2A #2A7E2A #2A2A7E
tetradic
#7E2A2A #547E2A #2A7E7E #542A7E
square
#7E2A2A #547E2A #2A7E7E #542A7E
split-complementary
#7E2A2A #2A7E54 #2A547E
monochromatic
#220B0B #501B1B #7E2A2A #AC3939 #C85A5A
Accessibility & contrast
On white
9.33
#7E2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A2A
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A2A | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#554D28
Tritanopia (blue-blind)
#8A172B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2a2a; /* rgb */ color: rgb(126, 42, 42); /* oklch */ color: oklch(41.1% 0.117 23.8);
Tailwind
colors: {
custom: {
50: '#a96863',
500: '#7e2a2a',
950: '#000000',
},
}SCSS
$custom: #7e2a2a; $custom-light: #a96863; $custom-dark: #000000;
JSON
{
"hex": "#7e2a2a",
"rgb": {
"r": 126,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41105,
"c": 0.11677,
"h": 23.8
},
"luminance": 0.06259
}Semantic roles & 50–950 ramp
primary
#7E2A2A
secondary
#56AEAE
accent
#DADA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79