#7E1B2A#7E1B2A
#7E1B2A is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 17.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B2A |
|---|---|
| RGB | rgb(126, 27, 42) |
| HSL | hsl(351, 65%, 30%) |
| HSV | hsv(351, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.81, 42.50, 16.97) |
| CIE-LCH | lch(27.81, 45.76, 21.77°) |
| OKLab | oklab(39.43% 0.1265 0.0406) |
| OKLCH | oklch(39.43% 0.133 17.8) |
| XYZ | xyz(9.4150, 5.3881, 2.7343) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.63
Burgundy
#800020
ΔE00 2.91
Bordeaux
#7B002C
ΔE00 4.65
Red Wine
#8C0034
ΔE00 5.14
Wine
#722F37
ΔE00 5.44
Claret
#680018
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B2A #1B7E6F
analogous
#7E1B5C #7E1B2A #7E3D1B
triadic
#7E1B2A #2A7E1B #1B2A7E
tetradic
#7E1B2A #5C7E1B #1B7E6F #3D1B7E
square
#7E1B2A #5C7E1B #1B7E6F #3D1B7E
split-complementary
#7E1B2A #1B7E3D #1B5C7E
monochromatic
#190508 #4C1019 #7E1B2A #B0263B #D63E55
Accessibility & contrast
On white
10.11
#7E1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B2A
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B2A | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1b2a; /* rgb */ color: rgb(126, 27, 42); /* oklch */ color: oklch(39.4% 0.133 17.8);
Tailwind
colors: {
custom: {
50: '#aa6163',
500: '#7e1b2a',
950: '#000000',
},
}SCSS
$custom: #7e1b2a; $custom-light: #aa6163; $custom-dark: #000000;
JSON
{
"hex": "#7e1b2a",
"rgb": {
"r": 126,
"g": 27,
"b": 42
},
"hsl": {
"h": 350.909,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.39429,
"c": 0.13284,
"h": 17.8
},
"luminance": 0.05387
}Semantic roles & 50–950 ramp
primary
#7E1B2A
secondary
#43B2A1
accent
#E8CE40
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79