#7E152B#7E152B
#7E152B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 15.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E152B |
|---|---|
| RGB | rgb(126, 21, 43) |
| HSL | hsl(347, 71%, 29%) |
| HSV | hsv(347, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 65.9%, 50.6%) |
| CIE-LAB | lab(27.15, 44.48, 15.45) |
| CIE-LCH | lch(27.15, 47.09, 19.15°) |
| OKLab | oklab(38.95% 0.1331 0.0373) |
| OKLCH | oklch(38.95% 0.138 15.6) |
| XYZ | xyz(9.3094, 5.1478, 2.7885) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.10
Burgundy
#800020
ΔE00 3.11
Bordeaux
#7B002C
ΔE00 3.23
Red Wine
#8C0034
ΔE00 3.99
Claret
#680018
ΔE00 5.57
Wine
#722F37
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E152B #157E68
analogous
#7E1560 #7E152B #7E3415
triadic
#7E152B #2B7E15 #152B7E
tetradic
#7E152B #607E15 #157E68 #34157E
square
#7E152B #607E15 #157E68 #34157E
split-complementary
#7E152B #157E34 #15607E
monochromatic
#1A0409 #4A0C19 #7E152B #B21E3D #DD3155
Accessibility & contrast
On white
10.35
#7E152B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E152B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E152B
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E152B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E152B | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e152b; /* rgb */ color: rgb(126, 21, 43); /* oklch */ color: oklch(38.9% 0.138 15.6);
Tailwind
colors: {
custom: {
50: '#aa5f64',
500: '#7e152b',
950: '#000000',
},
}SCSS
$custom: #7e152b; $custom-light: #aa5f64; $custom-dark: #000000;
JSON
{
"hex": "#7e152b",
"rgb": {
"r": 126,
"g": 21,
"b": 43
},
"hsl": {
"h": 347.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38946,
"c": 0.13818,
"h": 15.6
},
"luminance": 0.05146
}Semantic roles & 50–950 ramp
primary
#7E152B
secondary
#3CB39A
accent
#EEC83A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979