#7E1A2F#7E1A2F
#7E1A2F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.134 H 14.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A2F |
|---|---|
| RGB | rgb(126, 26, 47) |
| HSL | hsl(347, 66%, 30%) |
| HSV | hsv(347, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 62.7%, 50.6%) |
| CIE-LAB | lab(27.79, 43.17, 13.61) |
| CIE-LCH | lch(27.79, 45.27, 17.49°) |
| OKLab | oklab(39.45% 0.1297 0.0333) |
| OKLCH | oklch(39.45% 0.134 14.4) |
| XYZ | xyz(9.4876, 5.3810, 3.2278) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.13
Bordeaux
#7B002C
ΔE00 3.13
Red Wine
#8C0034
ΔE00 3.66
Burgundy
#800020
ΔE00 4.20
Wine
#722F37
ΔE00 5.02
Maroon (survey)
#650021
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A2F #1A7E69
analogous
#7E1A61 #7E1A2F #7E371A
triadic
#7E1A2F #2F7E1A #1A2F7E
tetradic
#7E1A2F #617E1A #1A7E69 #371A7E
square
#7E1A2F #617E1A #1A7E69 #371A7E
split-complementary
#7E1A2F #1A7E37 #1A617E
monochromatic
#190509 #4B101C #7E1A2F #B12442 #D73C5C
Accessibility & contrast
On white
10.12
#7E1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A2F
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A2F | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1a2f; /* rgb */ color: rgb(126, 26, 47); /* oklch */ color: oklch(39.4% 0.134 14.4);
Tailwind
colors: {
custom: {
50: '#aa6167',
500: '#7e1a2f',
950: '#000000',
},
}SCSS
$custom: #7e1a2f; $custom-light: #aa6167; $custom-dark: #000000;
JSON
{
"hex": "#7e1a2f",
"rgb": {
"r": 126,
"g": 26,
"b": 47
},
"hsl": {
"h": 347.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39448,
"c": 0.13391,
"h": 14.4
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#7E1A2F
secondary
#42B29A
accent
#E9C53F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A