#7E282A#7E282A
#7E282A is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.119 H 22.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7E282A |
|---|---|
| RGB | rgb(126, 40, 42) |
| HSL | hsl(359, 52%, 33%) |
| HSV | hsv(359, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 66.7%, 50.6%) |
| CIE-LAB | lab(29.72, 37.26, 19.39) |
| CIE-LCH | lch(29.72, 42.00, 27.50°) |
| OKLab | oklab(40.85% 0.1098 0.0461) |
| OKLCH | oklch(40.85% 0.119 22.8) |
| XYZ | xyz(9.7819, 6.1217, 2.8566) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.06
Wine Red
#7B0323
ΔE00 5.60
Wine
#722F37
ΔE00 5.61
Crimson (survey)
#8C000F
ΔE00 7.24
Claret
#680018
ΔE00 7.39
Bordeaux
#7B002C
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E282A #287E7C
analogous
#7E2855 #7E282A #7E5128
triadic
#7E282A #2A7E28 #282A7E
tetradic
#7E282A #557E28 #287E7C #51287E
square
#7E282A #557E28 #287E7C #51287E
split-complementary
#7E282A #287E51 #28557E
monochromatic
#210B0B #50191B #7E282A #AC3739 #CA5759
Accessibility & contrast
On white
9.44
#7E282A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E282A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E282A
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E282A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E282A | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#544D28
Tritanopia (blue-blind)
#8B142A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e282a; /* rgb */ color: rgb(126, 40, 42); /* oklch */ color: oklch(40.8% 0.119 22.8);
Tailwind
colors: {
custom: {
50: '#a96763',
500: '#7e282a',
950: '#000000',
},
}SCSS
$custom: #7e282a; $custom-light: #a96763; $custom-dark: #000000;
JSON
{
"hex": "#7e282a",
"rgb": {
"r": 126,
"g": 40,
"b": 42
},
"hsl": {
"h": 358.605,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.40849,
"c": 0.11906,
"h": 22.8
},
"luminance": 0.0612
}Semantic roles & 50–950 ramp
primary
#7E282A
secondary
#53AFAD
accent
#DBD84D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79