#7E1525#7E1525
#7E1525 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 19.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1525 |
|---|---|
| RGB | rgb(126, 21, 37) |
| HSL | hsl(351, 71%, 29%) |
| HSV | hsv(351, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 70.6%, 50.6%) |
| CIE-LAB | lab(27.04, 44.13, 19.31) |
| CIE-LCH | lch(27.04, 48.17, 23.64°) |
| OKLab | oklab(38.82% 0.1306 0.0453) |
| OKLCH | oklch(38.82% 0.138 19.1) |
| XYZ | xyz(9.2073, 5.1070, 2.2508) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.80
Wine Red
#7B0323
ΔE00 2.23
Claret
#680018
ΔE00 5.05
Bordeaux
#7B002C
ΔE00 5.21
Red Wine
#8C0034
ΔE00 5.86
Wine
#722F37
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1525 #157E6E
analogous
#7E155A #7E1525 #7E3A15
triadic
#7E1525 #257E15 #15257E
tetradic
#7E1525 #5A7E15 #157E6E #3A157E
square
#7E1525 #5A7E15 #157E6E #3A157E
split-complementary
#7E1525 #157E3A #155A7E
monochromatic
#1A0408 #4A0C16 #7E1525 #B21E34 #DD314B
Accessibility & contrast
On white
10.39
#7E1525 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1525 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1525
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1525 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1525 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353225
Deuteranopia (green-blind)
#4F4822
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1525; /* rgb */ color: rgb(126, 21, 37); /* oklch */ color: oklch(38.8% 0.138 19.1);
Tailwind
colors: {
custom: {
50: '#ab5f5f',
500: '#7e1525',
950: '#000000',
},
}SCSS
$custom: #7e1525; $custom-light: #ab5f5f; $custom-dark: #000000;
JSON
{
"hex": "#7e1525",
"rgb": {
"r": 126,
"g": 21,
"b": 37
},
"hsl": {
"h": 350.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38825,
"c": 0.13818,
"h": 19.1
},
"luminance": 0.05106
}Semantic roles & 50–950 ramp
primary
#7E1525
secondary
#3CB3A1
accent
#EED33A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979