#7E281A#7E281A
#7E281A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 31.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E281A |
|---|---|
| RGB | rgb(126, 40, 26) |
| HSL | hsl(8, 66%, 30%) |
| HSV | hsv(8, 79%, 49%) |
| CMYK | cmyk(0%, 68.3%, 79.4%, 50.6%) |
| CIE-LAB | lab(29.49, 36.39, 29.05) |
| CIE-LCH | lch(29.49, 46.57, 38.60°) |
| OKLab | oklab(40.6% 0.1036 0.0642) |
| OKLCH | oklch(40.6% 0.122 31.8) |
| XYZ | xyz(9.5505, 6.0292, 1.6379) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.00
Indian Red
#850E04
ΔE00 4.45
Reddish Brown
#7F2B0A
ΔE00 5.14
Reddy Brown
#6E1005
ΔE00 5.22
Maroon
#800000
ΔE00 5.23
Dark Red
#840000
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E281A #1A707E
analogous
#7E1A3E #7E281A #7E5A1A
triadic
#7E281A #1A7E28 #281A7E
tetradic
#7E281A #3E7E1A #1A707E #5A1A7E
square
#7E281A #3E7E1A #1A707E #5A1A7E
split-complementary
#7E281A #1A7E5A #1A3E7E
monochromatic
#190805 #4B1810 #7E281A #B13824 #D7513C
Accessibility & contrast
On white
9.52
#7E281A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E281A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E281A
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E281A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E281A | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#8B0F25
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e281a; /* rgb */ color: rgb(126, 40, 26); /* oklch */ color: oklch(40.6% 0.122 31.8);
Tailwind
colors: {
custom: {
50: '#ab6757',
500: '#7e281a',
950: '#000000',
},
}SCSS
$custom: #7e281a; $custom-light: #ab6757; $custom-dark: #000000;
JSON
{
"hex": "#7e281a",
"rgb": {
"r": 126,
"g": 40,
"b": 26
},
"hsl": {
"h": 8.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40601,
"c": 0.12186,
"h": 31.8
},
"luminance": 0.06028
}Semantic roles & 50–950 ramp
primary
#7E281A
secondary
#42A2B2
accent
#D1E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78