#7E271A#7E271A
#7E271A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.123 H 31.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E271A |
|---|---|
| RGB | rgb(126, 39, 26) |
| HSL | hsl(8, 66%, 30%) |
| HSV | hsv(8, 79%, 49%) |
| CMYK | cmyk(0%, 69%, 79.4%, 50.6%) |
| CIE-LAB | lab(29.32, 36.85, 28.88) |
| CIE-LCH | lch(29.32, 46.81, 38.09°) |
| OKLab | oklab(40.47% 0.105 0.0638) |
| OKLCH | oklch(40.47% 0.123 31.3) |
| XYZ | xyz(9.5172, 5.9626, 1.6268) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.23
Indian Red
#850E04
ΔE00 4.38
Crimson (survey)
#8C000F
ΔE00 5.06
Maroon
#800000
ΔE00 5.09
Reddy Brown
#6E1005
ΔE00 5.09
Dark Red
#840000
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E271A #1A717E
analogous
#7E1A3F #7E271A #7E591A
triadic
#7E271A #1A7E27 #271A7E
tetradic
#7E271A #3F7E1A #1A717E #591A7E
square
#7E271A #3F7E1A #1A717E #591A7E
split-complementary
#7E271A #1A7E59 #1A3F7E
monochromatic
#190805 #4B1710 #7E271A #B13724 #D7503C
Accessibility & contrast
On white
9.58
#7E271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E271A
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E271A | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#8B0D25
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e271a; /* rgb */ color: rgb(126, 39, 26); /* oklch */ color: oklch(40.5% 0.123 31.3);
Tailwind
colors: {
custom: {
50: '#ab6657',
500: '#7e271a',
950: '#000000',
},
}SCSS
$custom: #7e271a; $custom-light: #ab6657; $custom-dark: #000000;
JSON
{
"hex": "#7e271a",
"rgb": {
"r": 126,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40474,
"c": 0.12286,
"h": 31.3
},
"luminance": 0.05961
}Semantic roles & 50–950 ramp
primary
#7E271A
secondary
#42A3B2
accent
#D3E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78