#7E1522#7E1522
#7E1522 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 20.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1522 |
|---|---|
| RGB | rgb(126, 21, 34) |
| HSL | hsl(353, 71%, 29%) |
| HSV | hsv(353, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 73%, 50.6%) |
| CIE-LAB | lab(26.99, 43.97, 21.23) |
| CIE-LCH | lch(26.99, 48.83, 25.77°) |
| OKLab | oklab(38.77% 0.1293 0.049) |
| OKLCH | oklch(38.77% 0.138 20.8) |
| XYZ | xyz(9.1621, 5.0889, 2.0129) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.00
Wine Red
#7B0323
ΔE00 3.02
Claret
#680018
ΔE00 5.15
Bordeaux
#7B002C
ΔE00 6.27
Rosewood
#65000B
ΔE00 6.32
Crimson (survey)
#8C000F
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1522 #157E71
analogous
#7E1557 #7E1522 #7E3D15
triadic
#7E1522 #227E15 #15227E
tetradic
#7E1522 #577E15 #157E71 #3D157E
square
#7E1522 #577E15 #157E71 #3D157E
split-complementary
#7E1522 #157E3D #15577E
monochromatic
#1A0407 #4A0C14 #7E1522 #B21E30 #DD3146
Accessibility & contrast
On white
10.41
#7E1522 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1522 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1522
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1522 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1522 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1522; /* rgb */ color: rgb(126, 21, 34); /* oklch */ color: oklch(38.8% 0.138 20.8);
Tailwind
colors: {
custom: {
50: '#ab5e5d',
500: '#7e1522',
950: '#000000',
},
}SCSS
$custom: #7e1522; $custom-light: #ab5e5d; $custom-dark: #000000;
JSON
{
"hex": "#7e1522",
"rgb": {
"r": 126,
"g": 21,
"b": 34
},
"hsl": {
"h": 352.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38771,
"c": 0.13832,
"h": 20.8
},
"luminance": 0.05087
}Semantic roles & 50–950 ramp
primary
#7E1522
secondary
#3CB3A4
accent
#EED83A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979