#7E2E1F#7E2E1F
#7E2E1F is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.115 H 32.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E1F |
|---|---|
| RGB | rgb(126, 46, 31) |
| HSL | hsl(9, 61%, 31%) |
| HSV | hsv(9, 75%, 49%) |
| CMYK | cmyk(0%, 63.5%, 75.4%, 50.6%) |
| CIE-LAB | lab(30.62, 33.76, 27.33) |
| CIE-LCH | lch(30.62, 43.44, 38.99°) |
| OKLab | oklab(41.47% 0.0964 0.0618) |
| OKLCH | oklch(41.47% 0.115 32.6) |
| XYZ | xyz(9.8295, 6.4899, 2.0311) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.94
Reddish Brown
#7F2B0A
ΔE00 5.24
Indian Red
#850E04
ΔE00 5.70
Brick Red
#8F1402
ΔE00 6.30
Reddy Brown
#6E1005
ΔE00 6.36
Crimson (survey)
#8C000F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E1F #1F6F7E
analogous
#7E1F3F #7E2E1F #7E5D1F
triadic
#7E2E1F #1F7E2E #2E1F7E
tetradic
#7E2E1F #3F7E1F #1F6F7E #5D1F7E
square
#7E2E1F #3F7E1F #1F6F7E #5D1F7E
split-complementary
#7E2E1F #1F7E5D #1F3F7E
monochromatic
#1C0A07 #4D1C13 #7E2E1F #AF402B #D15C46
Accessibility & contrast
On white
9.14
#7E2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7E2E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E1F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E1F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8B1B2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2e1f; /* rgb */ color: rgb(126, 46, 31); /* oklch */ color: oklch(41.5% 0.115 32.6);
Tailwind
colors: {
custom: {
50: '#aa6a5b',
500: '#7e2e1f',
950: '#000000',
},
}SCSS
$custom: #7e2e1f; $custom-light: #aa6a5b; $custom-dark: #000000;
JSON
{
"hex": "#7e2e1f",
"rgb": {
"r": 126,
"g": 46,
"b": 31
},
"hsl": {
"h": 9.474,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41471,
"c": 0.11452,
"h": 32.6
},
"luminance": 0.06489
}Semantic roles & 50–950 ramp
primary
#7E2E1F
secondary
#48A0B1
accent
#CAE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79