#7E1C2F#7E1C2F
#7E1C2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.132 H 15.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1C2F |
|---|---|
| RGB | rgb(126, 28, 47) |
| HSL | hsl(348, 64%, 30%) |
| HSV | hsv(348, 78%, 49%) |
| CMYK | cmyk(0%, 77.8%, 62.7%, 50.6%) |
| CIE-LAB | lab(28.04, 42.48, 13.94) |
| CIE-LCH | lch(28.04, 44.71, 18.16°) |
| OKLab | oklab(39.63% 0.1275 0.0341) |
| OKLCH | oklch(39.63% 0.132 15) |
| XYZ | xyz(9.5335, 5.4728, 3.2431) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.20
Bordeaux
#7B002C
ΔE00 3.53
Red Wine
#8C0034
ΔE00 3.95
Burgundy
#800020
ΔE00 4.15
Wine
#722F37
ΔE00 4.80
Cranberry
#9E003A
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1C2F #1C7E6B
analogous
#7E1C60 #7E1C2F #7E3A1C
triadic
#7E1C2F #2F7E1C #1C2F7E
tetradic
#7E1C2F #607E1C #1C7E6B #3A1C7E
square
#7E1C2F #607E1C #1C7E6B #3A1C7E
split-complementary
#7E1C2F #1C7E3A #1C607E
monochromatic
#1A060A #4C111C #7E1C2F #B02742 #D5405D
Accessibility & contrast
On white
10.03
#7E1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1C2F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1C2F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1c2f; /* rgb */ color: rgb(126, 28, 47); /* oklch */ color: oklch(39.6% 0.132 15.0);
Tailwind
colors: {
custom: {
50: '#aa6167',
500: '#7e1c2f',
950: '#000000',
},
}SCSS
$custom: #7e1c2f; $custom-light: #aa6167; $custom-dark: #000000;
JSON
{
"hex": "#7e1c2f",
"rgb": {
"r": 126,
"g": 28,
"b": 47
},
"hsl": {
"h": 348.367,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.39631,
"c": 0.13195,
"h": 15
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#7E1C2F
secondary
#44B29C
accent
#E7C741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A