#7E242E#7E242E
#7E242E is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.123 H 18.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E242E |
|---|---|
| RGB | rgb(126, 36, 46) |
| HSL | hsl(353, 56%, 32%) |
| HSV | hsv(353, 71%, 49%) |
| CMYK | cmyk(0%, 71.4%, 63.5%, 50.6%) |
| CIE-LAB | lab(29.15, 39.29, 16.06) |
| CIE-LCH | lch(29.15, 42.44, 22.23°) |
| OKLab | oklab(40.45% 0.117 0.0389) |
| OKLCH | oklch(40.45% 0.123 18.4) |
| XYZ | xyz(9.7292, 5.8960, 3.2100) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 4.13
Burgundy
#800020
ΔE00 4.30
Wine
#722F37
ΔE00 4.38
Bordeaux
#7B002C
ΔE00 5.66
Red Wine
#8C0034
ΔE00 5.83
Claret
#680018
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E242E #247E74
analogous
#7E245B #7E242E #7E4724
triadic
#7E242E #2E7E24 #242E7E
tetradic
#7E242E #5B7E24 #247E74 #47247E
square
#7E242E #5B7E24 #247E74 #47247E
split-complementary
#7E242E #247E47 #245B7E
monochromatic
#1F090B #4E161D #7E242E #AE323F #CD505D
Accessibility & contrast
On white
9.64
#7E242E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E242E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E242E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E242E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E242E | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#8A0D28
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e242e; /* rgb */ color: rgb(126, 36, 46); /* oklch */ color: oklch(40.4% 0.123 18.4);
Tailwind
colors: {
custom: {
50: '#a96566',
500: '#7e242e',
950: '#000000',
},
}SCSS
$custom: #7e242e; $custom-light: #a96566; $custom-dark: #000000;
JSON
{
"hex": "#7e242e",
"rgb": {
"r": 126,
"g": 36,
"b": 46
},
"hsl": {
"h": 353.333,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.40448,
"c": 0.12334,
"h": 18.4
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#7E242E
secondary
#4EB0A5
accent
#DFCE49
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A