#7E1B2B#7E1B2B
#7E1B2B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 17.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B2B |
|---|---|
| RGB | rgb(126, 27, 43) |
| HSL | hsl(350, 65%, 30%) |
| HSV | hsv(350, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.83, 42.56, 16.33) |
| CIE-LCH | lch(27.83, 45.59, 20.99°) |
| OKLab | oklab(39.45% 0.1269 0.0393) |
| OKLCH | oklch(39.45% 0.133 17.2) |
| XYZ | xyz(9.4332, 5.3953, 2.8297) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.63
Burgundy
#800020
ΔE00 3.11
Bordeaux
#7B002C
ΔE00 4.35
Red Wine
#8C0034
ΔE00 4.84
Wine
#722F37
ΔE00 5.29
Claret
#680018
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B2B #1B7E6E
analogous
#7E1B5D #7E1B2B #7E3C1B
triadic
#7E1B2B #2B7E1B #1B2B7E
tetradic
#7E1B2B #5D7E1B #1B7E6E #3C1B7E
square
#7E1B2B #5D7E1B #1B7E6E #3C1B7E
split-complementary
#7E1B2B #1B7E3C #1B5D7E
monochromatic
#190509 #4C101A #7E1B2B #B0263C #D63E56
Accessibility & contrast
On white
10.10
#7E1B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B2B
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B2B | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37342B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1b2b; /* rgb */ color: rgb(126, 27, 43); /* oklch */ color: oklch(39.5% 0.133 17.2);
Tailwind
colors: {
custom: {
50: '#aa6164',
500: '#7e1b2b',
950: '#000000',
},
}SCSS
$custom: #7e1b2b; $custom-light: #aa6164; $custom-dark: #000000;
JSON
{
"hex": "#7e1b2b",
"rgb": {
"r": 126,
"g": 27,
"b": 43
},
"hsl": {
"h": 350.303,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.3945,
"c": 0.13283,
"h": 17.2
},
"luminance": 0.05394
}Semantic roles & 50–950 ramp
primary
#7E1B2B
secondary
#43B2A0
accent
#E8CD40
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79