#7E142B#7E142B
#7E142B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.139 H 15.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E142B |
|---|---|
| RGB | rgb(126, 20, 43) |
| HSL | hsl(347, 73%, 29%) |
| HSV | hsv(347, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.05, 44.77, 15.32) |
| CIE-LCH | lch(27.05, 47.31, 18.89°) |
| OKLab | oklab(38.87% 0.134 0.0369) |
| OKLCH | oklch(38.87% 0.139 15.4) |
| XYZ | xyz(9.2914, 5.1118, 2.7825) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.07
Bordeaux
#7B002C
ΔE00 3.07
Burgundy
#800020
ΔE00 3.15
Red Wine
#8C0034
ΔE00 3.88
Claret
#680018
ΔE00 5.56
Wine
#722F37
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E142B #147E67
analogous
#7E1460 #7E142B #7E3214
triadic
#7E142B #2B7E14 #142B7E
tetradic
#7E142B #607E14 #147E67 #32147E
square
#7E142B #607E14 #147E67 #32147E
split-complementary
#7E142B #147E32 #14607E
monochromatic
#1A0409 #490C19 #7E142B #B31C3D #DE2E55
Accessibility & contrast
On white
10.39
#7E142B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E142B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E142B
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E142B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E142B | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322B
Deuteranopia (green-blind)
#4E4828
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e142b; /* rgb */ color: rgb(126, 20, 43); /* oklch */ color: oklch(38.9% 0.139 15.4);
Tailwind
colors: {
custom: {
50: '#aa5e64',
500: '#7e142b',
950: '#000000',
},
}SCSS
$custom: #7e142b; $custom-light: #aa5e64; $custom-dark: #000000;
JSON
{
"hex": "#7e142b",
"rgb": {
"r": 126,
"g": 20,
"b": 43
},
"hsl": {
"h": 346.981,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.38872,
"c": 0.13898,
"h": 15.4
},
"luminance": 0.0511
}Semantic roles & 50–950 ramp
primary
#7E142B
secondary
#3AB399
accent
#EFC838
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979