#7E182A#7E182A
#7E182A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.136 H 17.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E182A |
|---|---|
| RGB | rgb(126, 24, 42) |
| HSL | hsl(349, 68%, 29%) |
| HSV | hsv(349, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 66.7%, 50.6%) |
| CIE-LAB | lab(27.46, 43.50, 16.51) |
| CIE-LCH | lch(27.46, 46.53, 20.79°) |
| OKLab | oklab(39.17% 0.1297 0.0396) |
| OKLCH | oklch(39.17% 0.136 17) |
| XYZ | xyz(9.3497, 5.2575, 2.7125) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.23
Burgundy
#800020
ΔE00 2.80
Bordeaux
#7B002C
ΔE00 4.06
Red Wine
#8C0034
ΔE00 4.66
Claret
#680018
ΔE00 5.51
Wine
#722F37
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E182A #187E6C
analogous
#7E185D #7E182A #7E3918
triadic
#7E182A #2A7E18 #182A7E
tetradic
#7E182A #5D7E18 #187E6C #39187E
square
#7E182A #5D7E18 #187E6C #39187E
split-complementary
#7E182A #187E39 #185D7E
monochromatic
#1A0509 #4B0E19 #7E182A #B1223B #D93754
Accessibility & contrast
On white
10.24
#7E182A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E182A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E182A
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E182A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E182A | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36332A
Deuteranopia (green-blind)
#504827
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e182a; /* rgb */ color: rgb(126, 24, 42); /* oklch */ color: oklch(39.2% 0.136 17.0);
Tailwind
colors: {
custom: {
50: '#aa6063',
500: '#7e182a',
950: '#000000',
},
}SCSS
$custom: #7e182a; $custom-light: #aa6063; $custom-dark: #000000;
JSON
{
"hex": "#7e182a",
"rgb": {
"r": 126,
"g": 24,
"b": 42
},
"hsl": {
"h": 349.412,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39165,
"c": 0.1356,
"h": 17
},
"luminance": 0.05256
}Semantic roles & 50–950 ramp
primary
#7E182A
secondary
#3FB29E
accent
#EBCC3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979