#7E271D#7E271D
#7E271D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.122 H 29.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E271D |
|---|---|
| RGB | rgb(126, 39, 29) |
| HSL | hsl(6, 63%, 30%) |
| HSV | hsv(6, 77%, 49%) |
| CMYK | cmyk(0%, 69%, 77%, 50.6%) |
| CIE-LAB | lab(29.35, 36.98, 27.13) |
| CIE-LCH | lch(29.35, 45.86, 36.26°) |
| OKLab | oklab(40.51% 0.1061 0.0608) |
| OKLCH | oklch(40.51% 0.122 29.8) |
| XYZ | xyz(9.5525, 5.9768, 1.8128) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 4.97
Crimson (survey)
#8C000F
ΔE00 4.99
Red Brown
#8B2E16
ΔE00 5.02
Reddy Brown
#6E1005
ΔE00 5.38
Maroon
#800000
ΔE00 5.50
Dark Red
#840000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E271D #1D747E
analogous
#7E1D43 #7E271D #7E581D
triadic
#7E271D #1D7E27 #271D7E
tetradic
#7E271D #437E1D #1D747E #581D7E
square
#7E271D #437E1D #1D747E #581D7E
split-complementary
#7E271D #1D7E58 #1D437E
monochromatic
#1B0806 #4C1812 #7E271D #B03628 #D35142
Accessibility & contrast
On white
9.57
#7E271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E271D
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E271D | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40391B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8B0E25
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e271d; /* rgb */ color: rgb(126, 39, 29); /* oklch */ color: oklch(40.5% 0.122 29.8);
Tailwind
colors: {
custom: {
50: '#aa6659',
500: '#7e271d',
950: '#000000',
},
}SCSS
$custom: #7e271d; $custom-light: #aa6659; $custom-dark: #000000;
JSON
{
"hex": "#7e271d",
"rgb": {
"r": 126,
"g": 39,
"b": 29
},
"hsl": {
"h": 6.186,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40513,
"c": 0.12226,
"h": 29.8
},
"luminance": 0.05975
}Semantic roles & 50–950 ramp
primary
#7E271D
secondary
#45A6B1
accent
#D5E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78