#7E281B#7E281B
#7E281B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 31.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E281B |
|---|---|
| RGB | rgb(126, 40, 27) |
| HSL | hsl(8, 65%, 30%) |
| HSV | hsv(8, 79%, 49%) |
| CMYK | cmyk(0%, 68.3%, 78.6%, 50.6%) |
| CIE-LAB | lab(29.50, 36.43, 28.48) |
| CIE-LCH | lch(29.50, 46.24, 38.01°) |
| OKLab | oklab(40.61% 0.1039 0.0632) |
| OKLCH | oklch(40.61% 0.122 31.3) |
| XYZ | xyz(9.5619, 6.0337, 1.6978) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.24
Indian Red
#850E04
ΔE00 4.60
Crimson (survey)
#8C000F
ΔE00 5.22
Reddy Brown
#6E1005
ΔE00 5.27
Maroon
#800000
ΔE00 5.32
Dark Red
#840000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E281B #1B717E
analogous
#7E1B3F #7E281B #7E5A1B
triadic
#7E281B #1B7E28 #281B7E
tetradic
#7E281B #3F7E1B #1B717E #5A1B7E
square
#7E281B #3F7E1B #1B717E #5A1B7E
split-complementary
#7E281B #1B7E5A #1B3F7E
monochromatic
#190805 #4C1810 #7E281B #B03826 #D6523E
Accessibility & contrast
On white
9.52
#7E281B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E281B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E281B
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E281B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E281B | 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)
#403A19
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#8B1026
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e281b; /* rgb */ color: rgb(126, 40, 27); /* oklch */ color: oklch(40.6% 0.122 31.3);
Tailwind
colors: {
custom: {
50: '#aa6758',
500: '#7e281b',
950: '#000000',
},
}SCSS
$custom: #7e281b; $custom-light: #aa6758; $custom-dark: #000000;
JSON
{
"hex": "#7e281b",
"rgb": {
"r": 126,
"g": 40,
"b": 27
},
"hsl": {
"h": 7.879,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40613,
"c": 0.12165,
"h": 31.3
},
"luminance": 0.06032
}Semantic roles & 50–950 ramp
primary
#7E281B
secondary
#43A3B2
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78