#7E271E#7E271E
#7E271E is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.122 H 29.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7E271E |
|---|---|
| RGB | rgb(126, 39, 30) |
| HSL | hsl(6, 62%, 31%) |
| HSV | hsv(6, 76%, 49%) |
| CMYK | cmyk(0%, 69%, 76.2%, 50.6%) |
| CIE-LAB | lab(29.37, 37.02, 26.53) |
| CIE-LCH | lch(29.37, 45.55, 35.63°) |
| OKLab | oklab(40.53% 0.1064 0.0598) |
| OKLCH | oklch(40.53% 0.122 29.3) |
| XYZ | xyz(9.5651, 5.9818, 1.8790) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 5.03
Indian Red
#850E04
ΔE00 5.21
Red Brown
#8B2E16
ΔE00 5.30
Reddy Brown
#6E1005
ΔE00 5.52
Maroon
#800000
ΔE00 5.68
Blood
#770001
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E271E #1E757E
analogous
#7E1E45 #7E271E #7E571E
triadic
#7E271E #1E7E27 #271E7E
tetradic
#7E271E #457E1E #1E757E #571E7E
square
#7E271E #457E1E #1E757E #571E7E
split-complementary
#7E271E #1E7E57 #1E457E
monochromatic
#1B0806 #4D1812 #7E271E #AF362A #D25144
Accessibility & contrast
On white
9.56
#7E271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E271E
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E271E | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391C
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#8B0E26
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e271e; /* rgb */ color: rgb(126, 39, 30); /* oklch */ color: oklch(40.5% 0.122 29.3);
Tailwind
colors: {
custom: {
50: '#aa665a',
500: '#7e271e',
950: '#000000',
},
}SCSS
$custom: #7e271e; $custom-light: #aa665a; $custom-dark: #000000;
JSON
{
"hex": "#7e271e",
"rgb": {
"r": 126,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40526,
"c": 0.12207,
"h": 29.3
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#7E271E
secondary
#47A7B1
accent
#D5E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79