#7E1B2C#7E1B2C
#7E1B2C is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 16.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B2C |
|---|---|
| RGB | rgb(126, 27, 44) |
| HSL | hsl(350, 65%, 30%) |
| HSV | hsv(350, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 65.1%, 50.6%) |
| CIE-LAB | lab(27.85, 42.63, 15.69) |
| CIE-LCH | lch(27.85, 45.42, 20.21°) |
| OKLab | oklab(39.47% 0.1273 0.0379) |
| OKLCH | oklch(39.47% 0.133 16.6) |
| XYZ | xyz(9.4517, 5.4027, 2.9275) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.69
Burgundy
#800020
ΔE00 3.34
Bordeaux
#7B002C
ΔE00 4.06
Red Wine
#8C0034
ΔE00 4.55
Wine
#722F37
ΔE00 5.16
Claret
#680018
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B2C #1B7E6D
analogous
#7E1B5D #7E1B2C #7E3C1B
triadic
#7E1B2C #2C7E1B #1B2C7E
tetradic
#7E1B2C #5D7E1B #1B7E6D #3C1B7E
square
#7E1B2C #5D7E1B #1B7E6D #3C1B7E
split-complementary
#7E1B2C #1B7E3C #1B5D7E
monochromatic
#190509 #4C101A #7E1B2C #B0263E #D63E58
Accessibility & contrast
On white
10.10
#7E1B2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1B2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B2C
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B2C | 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)
#37352C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1b2c; /* rgb */ color: rgb(126, 27, 44); /* oklch */ color: oklch(39.5% 0.133 16.6);
Tailwind
colors: {
custom: {
50: '#aa6164',
500: '#7e1b2c',
950: '#000000',
},
}SCSS
$custom: #7e1b2c; $custom-light: #aa6164; $custom-dark: #000000;
JSON
{
"hex": "#7e1b2c",
"rgb": {
"r": 126,
"g": 27,
"b": 44
},
"hsl": {
"h": 349.697,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.39471,
"c": 0.13285,
"h": 16.6
},
"luminance": 0.05401
}Semantic roles & 50–950 ramp
primary
#7E1B2C
secondary
#43B29F
accent
#E8CB40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A