#7E182C#7E182C
#7E182C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.136 H 15.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E182C |
|---|---|
| RGB | rgb(126, 24, 44) |
| HSL | hsl(348, 68%, 29%) |
| HSV | hsv(348, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 65.1%, 50.6%) |
| CIE-LAB | lab(27.50, 43.63, 15.23) |
| CIE-LCH | lch(27.50, 46.21, 19.24°) |
| OKLab | oklab(39.21% 0.1305 0.0368) |
| OKLCH | oklch(39.21% 0.136 15.8) |
| XYZ | xyz(9.3864, 5.2722, 2.9058) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.44
Burgundy
#800020
ΔE00 3.34
Bordeaux
#7B002C
ΔE00 3.47
Red Wine
#8C0034
ΔE00 4.09
Wine
#722F37
ΔE00 5.39
Claret
#680018
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E182C #187E6A
analogous
#7E185F #7E182C #7E3718
triadic
#7E182C #2C7E18 #182C7E
tetradic
#7E182C #5F7E18 #187E6A #37187E
square
#7E182C #5F7E18 #187E6A #37187E
split-complementary
#7E182C #187E37 #185F7E
monochromatic
#1A0509 #4B0E1A #7E182C #B1223E #D93757
Accessibility & contrast
On white
10.22
#7E182C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E182C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E182C
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E182C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E182C | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4F4929
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e182c; /* rgb */ color: rgb(126, 24, 44); /* oklch */ color: oklch(39.2% 0.136 15.8);
Tailwind
colors: {
custom: {
50: '#aa6064',
500: '#7e182c',
950: '#000000',
},
}SCSS
$custom: #7e182c; $custom-light: #aa6064; $custom-dark: #000000;
JSON
{
"hex": "#7e182c",
"rgb": {
"r": 126,
"g": 24,
"b": 44
},
"hsl": {
"h": 348.235,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39208,
"c": 0.13563,
"h": 15.8
},
"luminance": 0.05271
}Semantic roles & 50–950 ramp
primary
#7E182C
secondary
#3FB29C
accent
#EBC93D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A