#7E1B0F#7E1B0F
#7E1B0F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.136 H 30.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B0F |
|---|---|
| RGB | rgb(126, 27, 15) |
| HSL | hsl(6, 79%, 28%) |
| HSV | hsv(6, 88%, 49%) |
| CMYK | cmyk(0%, 78.6%, 88.1%, 50.6%) |
| CIE-LAB | lab(27.45, 41.31, 33.20) |
| CIE-LCH | lch(27.45, 53.00, 38.79°) |
| OKLab | oklab(39.04% 0.1167 0.0693) |
| OKLCH | oklch(39.04% 0.136 30.7) |
| XYZ | xyz(9.0835, 5.2554, 0.9880) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.25
Maroon
#800000
ΔE00 2.73
Dark Red
#840000
ΔE00 2.84
Blood
#770001
ΔE00 3.32
Darkred
#8B0000
ΔE00 3.48
Reddy Brown
#6E1005
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B0F #0F727E
analogous
#7E0F3B #7E1B0F #7E520F
triadic
#7E1B0F #0F7E1B #1B0F7E
tetradic
#7E1B0F #3B7E0F #0F727E #520F7E
square
#7E1B0F #3B7E0F #0F727E #520F7E
split-complementary
#7E1B0F #0F7E52 #0F3B7E
monochromatic
#1B0603 #470F08 #7E1B0F #B52716 #E53823
Accessibility & contrast
On white
10.24
#7E1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B0F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B0F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#524909
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1b0f; /* rgb */ color: rgb(126, 27, 15); /* oklch */ color: oklch(39.0% 0.136 30.7);
Tailwind
colors: {
custom: {
50: '#ac604f',
500: '#7e1b0f',
950: '#000000',
},
}SCSS
$custom: #7e1b0f; $custom-light: #ac604f; $custom-dark: #000000;
JSON
{
"hex": "#7e1b0f",
"rgb": {
"r": 126,
"g": 27,
"b": 15
},
"hsl": {
"h": 6.486,
"s": 78.723,
"l": 27.647
},
"oklch": {
"l": 0.39044,
"c": 0.13573,
"h": 30.7
},
"luminance": 0.05254
}Semantic roles & 50–950 ramp
primary
#7E1B0F
secondary
#34A7B5
accent
#E0F533
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978