#7E152C#7E152C
#7E152C is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 15.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E152C |
|---|---|
| RGB | rgb(126, 21, 44) |
| HSL | hsl(347, 71%, 29%) |
| HSV | hsv(347, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 65.1%, 50.6%) |
| CIE-LAB | lab(27.17, 44.54, 14.80) |
| CIE-LCH | lch(27.17, 46.94, 18.38°) |
| OKLab | oklab(38.97% 0.1335 0.0359) |
| OKLCH | oklch(38.97% 0.138 15) |
| XYZ | xyz(9.3280, 5.1552, 2.8863) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.31
Bordeaux
#7B002C
ΔE00 2.95
Burgundy
#800020
ΔE00 3.43
Red Wine
#8C0034
ΔE00 3.72
Wine
#722F37
ΔE00 5.65
Claret
#680018
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E152C #157E67
analogous
#7E1561 #7E152C #7E3315
triadic
#7E152C #2C7E15 #152C7E
tetradic
#7E152C #617E15 #157E67 #33157E
square
#7E152C #617E15 #157E67 #33157E
split-complementary
#7E152C #157E33 #15617E
monochromatic
#1A0409 #4A0C1A #7E152C #B21E3E #DD3156
Accessibility & contrast
On white
10.34
#7E152C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E152C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E152C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E152C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E152C | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e152c; /* rgb */ color: rgb(126, 21, 44); /* oklch */ color: oklch(39.0% 0.138 15.0);
Tailwind
colors: {
custom: {
50: '#aa5f64',
500: '#7e152c',
950: '#000000',
},
}SCSS
$custom: #7e152c; $custom-light: #aa5f64; $custom-dark: #000000;
JSON
{
"hex": "#7e152c",
"rgb": {
"r": 126,
"g": 21,
"b": 44
},
"hsl": {
"h": 346.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38968,
"c": 0.13821,
"h": 15
},
"luminance": 0.05154
}Semantic roles & 50–950 ramp
primary
#7E152C
secondary
#3CB399
accent
#EEC73A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A