#7E182D#7E182D
#7E182D is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.136 H 15.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E182D |
|---|---|
| RGB | rgb(126, 24, 45) |
| HSL | hsl(348, 68%, 29%) |
| HSV | hsv(348, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 64.3%, 50.6%) |
| CIE-LAB | lab(27.52, 43.69, 14.58) |
| CIE-LCH | lch(27.52, 46.06, 18.46°) |
| OKLab | oklab(39.23% 0.131 0.0355) |
| OKLCH | oklch(39.23% 0.136 15.1) |
| XYZ | xyz(9.4055, 5.2798, 3.0060) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.62
Bordeaux
#7B002C
ΔE00 3.21
Burgundy
#800020
ΔE00 3.64
Red Wine
#8C0034
ΔE00 3.84
Wine
#722F37
ΔE00 5.32
Claret
#680018
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E182D #187E69
analogous
#7E1860 #7E182D #7E3618
triadic
#7E182D #2D7E18 #182D7E
tetradic
#7E182D #607E18 #187E69 #36187E
square
#7E182D #607E18 #187E69 #36187E
split-complementary
#7E182D #187E36 #18607E
monochromatic
#1A0509 #4B0E1B #7E182D #B1223F #D93759
Accessibility & contrast
On white
10.22
#7E182D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E182D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E182D
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E182D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E182D | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4F492A
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e182d; /* rgb */ color: rgb(126, 24, 45); /* oklch */ color: oklch(39.2% 0.136 15.1);
Tailwind
colors: {
custom: {
50: '#aa6065',
500: '#7e182d',
950: '#000000',
},
}SCSS
$custom: #7e182d; $custom-light: #aa6065; $custom-dark: #000000;
JSON
{
"hex": "#7e182d",
"rgb": {
"r": 126,
"g": 24,
"b": 45
},
"hsl": {
"h": 347.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.3923,
"c": 0.13567,
"h": 15.1
},
"luminance": 0.05278
}Semantic roles & 50–950 ramp
primary
#7E182D
secondary
#3FB29B
accent
#EBC73D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A