#7E182B#7E182B
#7E182B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.136 H 16.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E182B |
|---|---|
| RGB | rgb(126, 24, 43) |
| HSL | hsl(349, 68%, 29%) |
| HSV | hsv(349, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.48, 43.56, 15.87) |
| CIE-LCH | lch(27.48, 46.36, 20.02°) |
| OKLab | oklab(39.19% 0.1301 0.0382) |
| OKLCH | oklch(39.19% 0.136 16.4) |
| XYZ | xyz(9.3679, 5.2647, 2.8080) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.30
Burgundy
#800020
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 3.76
Red Wine
#8C0034
ΔE00 4.37
Wine
#722F37
ΔE00 5.49
Claret
#680018
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E182B #187E6B
analogous
#7E185E #7E182B #7E3818
triadic
#7E182B #2B7E18 #182B7E
tetradic
#7E182B #5E7E18 #187E6B #38187E
square
#7E182B #5E7E18 #187E6B #38187E
split-complementary
#7E182B #187E38 #185E7E
monochromatic
#1A0509 #4B0E19 #7E182B #B1223D #D93756
Accessibility & contrast
On white
10.23
#7E182B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E182B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E182B
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E182B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E182B | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36332B
Deuteranopia (green-blind)
#4F4928
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e182b; /* rgb */ color: rgb(126, 24, 43); /* oklch */ color: oklch(39.2% 0.136 16.4);
Tailwind
colors: {
custom: {
50: '#aa6064',
500: '#7e182b',
950: '#000000',
},
}SCSS
$custom: #7e182b; $custom-light: #aa6064; $custom-dark: #000000;
JSON
{
"hex": "#7e182b",
"rgb": {
"r": 126,
"g": 24,
"b": 43
},
"hsl": {
"h": 348.824,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39186,
"c": 0.13561,
"h": 16.4
},
"luminance": 0.05263
}Semantic roles & 50–950 ramp
primary
#7E182B
secondary
#3FB29D
accent
#EBCA3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979