#7E2F1F#7E2F1F
#7E2F1F is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.113 H 33.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F1F |
|---|---|
| RGB | rgb(126, 47, 31) |
| HSL | hsl(10, 61%, 31%) |
| HSV | hsv(10, 75%, 49%) |
| CMYK | cmyk(0%, 62.7%, 75.4%, 50.6%) |
| CIE-LAB | lab(30.80, 33.26, 27.54) |
| CIE-LCH | lch(30.80, 43.19, 39.62°) |
| OKLab | oklab(41.61% 0.0949 0.0622) |
| OKLCH | oklch(41.61% 0.113 33.2) |
| XYZ | xyz(9.8690, 6.5689, 2.0443) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.76
Reddish Brown
#7F2B0A
ΔE00 4.99
Indian Red
#850E04
ΔE00 5.83
Brick Red
#8F1402
ΔE00 6.33
Reddy Brown
#6E1005
ΔE00 6.54
Chestnut
#742802
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F1F #1F6E7E
analogous
#7E1F3E #7E2F1F #7E5E1F
triadic
#7E2F1F #1F7E2F #2F1F7E
tetradic
#7E2F1F #3E7E1F #1F6E7E #5E1F7E
square
#7E2F1F #3E7E1F #1F6E7E #5E1F7E
split-complementary
#7E2F1F #1F7E5E #1F3E7E
monochromatic
#1C0A07 #4D1D13 #7E2F1F #AF412B #D15D46
Accessibility & contrast
On white
9.08
#7E2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F1F
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F1F | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8B1D2C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2f1f; /* rgb */ color: rgb(126, 47, 31); /* oklch */ color: oklch(41.6% 0.113 33.2);
Tailwind
colors: {
custom: {
50: '#aa6b5b',
500: '#7e2f1f',
950: '#000000',
},
}SCSS
$custom: #7e2f1f; $custom-light: #aa6b5b; $custom-dark: #000000;
JSON
{
"hex": "#7e2f1f",
"rgb": {
"r": 126,
"g": 47,
"b": 31
},
"hsl": {
"h": 10.105,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41613,
"c": 0.11347,
"h": 33.2
},
"luminance": 0.06568
}Semantic roles & 50–950 ramp
primary
#7E2F1F
secondary
#489FB1
accent
#C9E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79