#7E152F#7E152F
#7E152F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 13.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E152F |
|---|---|
| RGB | rgb(126, 21, 47) |
| HSL | hsl(345, 71%, 29%) |
| HSV | hsv(345, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 62.7%, 50.6%) |
| CIE-LAB | lab(27.24, 44.74, 12.87) |
| CIE-LCH | lch(27.24, 46.56, 16.04°) |
| OKLab | oklab(39.04% 0.1348 0.0316) |
| OKLCH | oklch(39.04% 0.138 13.2) |
| XYZ | xyz(9.3864, 5.1786, 3.1941) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.27
Red Wine
#8C0034
ΔE00 3.09
Wine Red
#7B0323
ΔE00 3.14
Burgundy
#800020
ΔE00 4.45
Wine
#722F37
ΔE00 5.56
Maroon (survey)
#650021
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E152F #157E64
analogous
#7E1564 #7E152F #7E3015
triadic
#7E152F #2F7E15 #152F7E
tetradic
#7E152F #647E15 #157E64 #30157E
square
#7E152F #647E15 #157E64 #30157E
split-complementary
#7E152F #157E30 #15647E
monochromatic
#1A040A #4A0C1B #7E152F #B21E43 #DD315B
Accessibility & contrast
On white
10.32
#7E152F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E152F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E152F
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E152F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E152F | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e152f; /* rgb */ color: rgb(126, 21, 47); /* oklch */ color: oklch(39.0% 0.138 13.2);
Tailwind
colors: {
custom: {
50: '#aa5f67',
500: '#7e152f',
950: '#000000',
},
}SCSS
$custom: #7e152f; $custom-light: #aa5f67; $custom-dark: #000000;
JSON
{
"hex": "#7e152f",
"rgb": {
"r": 126,
"g": 21,
"b": 47
},
"hsl": {
"h": 345.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39037,
"c": 0.13841,
"h": 13.2
},
"luminance": 0.05177
}Semantic roles & 50–950 ramp
primary
#7E152F
secondary
#3CB396
accent
#EEC13A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A