#7E1526#7E1526
#7E1526 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 18.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1526 |
|---|---|
| RGB | rgb(126, 21, 38) |
| HSL | hsl(350, 71%, 29%) |
| HSV | hsv(350, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.06, 44.18, 18.67) |
| CIE-LCH | lch(27.06, 47.97, 22.91°) |
| OKLab | oklab(38.84% 0.131 0.044) |
| OKLCH | oklch(38.84% 0.138 18.6) |
| XYZ | xyz(9.2232, 5.1133, 2.3347) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.90
Wine Red
#7B0323
ΔE00 2.04
Bordeaux
#7B002C
ΔE00 4.86
Claret
#680018
ΔE00 5.07
Red Wine
#8C0034
ΔE00 5.52
Wine
#722F37
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1526 #157E6D
analogous
#7E155B #7E1526 #7E3915
triadic
#7E1526 #267E15 #15267E
tetradic
#7E1526 #5B7E15 #157E6D #39157E
square
#7E1526 #5B7E15 #157E6D #39157E
split-complementary
#7E1526 #157E39 #155B7E
monochromatic
#1A0408 #4A0C16 #7E1526 #B21E36 #DD314D
Accessibility & contrast
On white
10.38
#7E1526 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1526 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1526
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1526 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353226
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1526; /* rgb */ color: rgb(126, 21, 38); /* oklch */ color: oklch(38.8% 0.138 18.6);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7e1526',
950: '#000000',
},
}SCSS
$custom: #7e1526; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7e1526",
"rgb": {
"r": 126,
"g": 21,
"b": 38
},
"hsl": {
"h": 350.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38844,
"c": 0.13815,
"h": 18.6
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#7E1526
secondary
#3CB3A0
accent
#EED13A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979