#7E1821#7E1821
#7E1821 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 22.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1821 |
|---|---|
| RGB | rgb(126, 24, 33) |
| HSL | hsl(355, 68%, 29%) |
| HSV | hsv(355, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 73.8%, 50.6%) |
| CIE-LAB | lab(27.30, 43.00, 22.26) |
| CIE-LCH | lch(27.30, 48.42, 27.37°) |
| OKLab | oklab(39% 0.126 0.0511) |
| OKLCH | oklch(39% 0.136 22.1) |
| XYZ | xyz(9.2064, 5.2001, 1.9575) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.75
Wine Red
#7B0323
ΔE00 3.88
Claret
#680018
ΔE00 5.57
Crimson (survey)
#8C000F
ΔE00 5.75
Rosewood
#65000B
ΔE00 6.19
Blood
#770001
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1821 #187E75
analogous
#7E1854 #7E1821 #7E4218
triadic
#7E1821 #217E18 #18217E
tetradic
#7E1821 #547E18 #187E75 #42187E
square
#7E1821 #547E18 #187E75 #42187E
split-complementary
#7E1821 #187E42 #18547E
monochromatic
#1A0507 #4B0E14 #7E1821 #B1222E #D93746
Accessibility & contrast
On white
10.30
#7E1821 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1821 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1821
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1821 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1821 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373320
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1821; /* rgb */ color: rgb(126, 24, 33); /* oklch */ color: oklch(39.0% 0.136 22.1);
Tailwind
colors: {
custom: {
50: '#ab5f5c',
500: '#7e1821',
950: '#000000',
},
}SCSS
$custom: #7e1821; $custom-light: #ab5f5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1821",
"rgb": {
"r": 126,
"g": 24,
"b": 33
},
"hsl": {
"h": 354.706,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38996,
"c": 0.13595,
"h": 22.1
},
"luminance": 0.05199
}Semantic roles & 50–950 ramp
primary
#7E1821
secondary
#3FB2A8
accent
#EBDC3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979