#7E2D1F#7E2D1F
#7E2D1F is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.116 H 32.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D1F |
|---|---|
| RGB | rgb(126, 45, 31) |
| HSL | hsl(9, 61%, 31%) |
| HSV | hsv(9, 75%, 49%) |
| CMYK | cmyk(0%, 64.3%, 75.4%, 50.6%) |
| CIE-LAB | lab(30.43, 34.25, 27.12) |
| CIE-LCH | lch(30.43, 43.69, 38.37°) |
| OKLab | oklab(41.33% 0.098 0.0613) |
| OKLCH | oklch(41.33% 0.116 32) |
| XYZ | xyz(9.7909, 6.4127, 2.0183) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.14
Reddish Brown
#7F2B0A
ΔE00 5.50
Indian Red
#850E04
ΔE00 5.59
Crimson (survey)
#8C000F
ΔE00 6.18
Reddy Brown
#6E1005
ΔE00 6.20
Brick Red
#8F1402
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D1F #1F707E
analogous
#7E1F40 #7E2D1F #7E5C1F
triadic
#7E2D1F #1F7E2D #2D1F7E
tetradic
#7E2D1F #407E1F #1F707E #5C1F7E
square
#7E2D1F #407E1F #1F707E #5C1F7E
split-complementary
#7E2D1F #1F7E5C #1F407E
monochromatic
#1C0A07 #4D1B13 #7E2D1F #AF3F2B #D15A46
Accessibility & contrast
On white
9.20
#7E2D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7E2D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D1F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D1F | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8B1A2A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2d1f; /* rgb */ color: rgb(126, 45, 31); /* oklch */ color: oklch(41.3% 0.116 32.0);
Tailwind
colors: {
custom: {
50: '#aa6a5b',
500: '#7e2d1f',
950: '#000000',
},
}SCSS
$custom: #7e2d1f; $custom-light: #aa6a5b; $custom-dark: #000000;
JSON
{
"hex": "#7e2d1f",
"rgb": {
"r": 126,
"g": 45,
"b": 31
},
"hsl": {
"h": 8.842,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41331,
"c": 0.11557,
"h": 32
},
"luminance": 0.06411
}Semantic roles & 50–950 ramp
primary
#7E2D1F
secondary
#48A2B1
accent
#CCE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79