#7E1B2F#7E1B2F
#7E1B2F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 14.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B2F |
|---|---|
| RGB | rgb(126, 27, 47) |
| HSL | hsl(348, 65%, 30%) |
| HSV | hsv(348, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 62.7%, 50.6%) |
| CIE-LAB | lab(27.92, 42.83, 13.77) |
| CIE-LCH | lch(27.92, 44.99, 17.82°) |
| OKLab | oklab(39.54% 0.1286 0.0337) |
| OKLCH | oklch(39.54% 0.133 14.7) |
| XYZ | xyz(9.5102, 5.4261, 3.2354) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.16
Bordeaux
#7B002C
ΔE00 3.33
Red Wine
#8C0034
ΔE00 3.80
Burgundy
#800020
ΔE00 4.17
Wine
#722F37
ΔE00 4.91
Maroon (survey)
#650021
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B2F #1B7E6A
analogous
#7E1B60 #7E1B2F #7E391B
triadic
#7E1B2F #2F7E1B #1B2F7E
tetradic
#7E1B2F #607E1B #1B7E6A #391B7E
square
#7E1B2F #607E1B #1B7E6A #391B7E
split-complementary
#7E1B2F #1B7E39 #1B607E
monochromatic
#190509 #4C101C #7E1B2F #B02642 #D63E5C
Accessibility & contrast
On white
10.07
#7E1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1B2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B2F
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B2F | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36352F
Deuteranopia (green-blind)
#50492C
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1b2f; /* rgb */ color: rgb(126, 27, 47); /* oklch */ color: oklch(39.5% 0.133 14.7);
Tailwind
colors: {
custom: {
50: '#aa6167',
500: '#7e1b2f',
950: '#000000',
},
}SCSS
$custom: #7e1b2f; $custom-light: #aa6167; $custom-dark: #000000;
JSON
{
"hex": "#7e1b2f",
"rgb": {
"r": 126,
"g": 27,
"b": 47
},
"hsl": {
"h": 347.879,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.39539,
"c": 0.13293,
"h": 14.7
},
"luminance": 0.05425
}Semantic roles & 50–950 ramp
primary
#7E1B2F
secondary
#43B29B
accent
#E8C640
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A