#7E1222#7E1222
#7E1222 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 20.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1222 |
|---|---|
| RGB | rgb(126, 18, 34) |
| HSL | hsl(351, 75%, 28%) |
| HSV | hsv(351, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 73%, 50.6%) |
| CIE-LAB | lab(26.69, 44.80, 20.88) |
| CIE-LCH | lch(26.69, 49.43, 24.98°) |
| OKLab | oklab(38.55% 0.132 0.0482) |
| OKLCH | oklch(38.55% 0.141 20.1) |
| XYZ | xyz(9.1103, 4.9852, 1.9956) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.54
Wine Red
#7B0323
ΔE00 2.54
Claret
#680018
ΔE00 4.91
Bordeaux
#7B002C
ΔE00 5.84
Rosewood
#65000B
ΔE00 6.36
Red Wine
#8C0034
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1222 #127E6E
analogous
#7E1258 #7E1222 #7E3812
triadic
#7E1222 #227E12 #12227E
tetradic
#7E1222 #587E12 #127E6E #38127E
square
#7E1222 #587E12 #127E6E #38127E
split-complementary
#7E1222 #127E38 #12587E
monochromatic
#1B0407 #480A14 #7E1222 #B41A30 #E12A45
Accessibility & contrast
On white
10.52
#7E1222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1222
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1222 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343122
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1222; /* rgb */ color: rgb(126, 18, 34); /* oklch */ color: oklch(38.6% 0.141 20.1);
Tailwind
colors: {
custom: {
50: '#ab5d5c',
500: '#7e1222',
950: '#000000',
},
}SCSS
$custom: #7e1222; $custom-light: #ab5d5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1222",
"rgb": {
"r": 126,
"g": 18,
"b": 34
},
"hsl": {
"h": 351.111,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38553,
"c": 0.14054,
"h": 20.1
},
"luminance": 0.04984
}Semantic roles & 50–950 ramp
primary
#7E1222
secondary
#38B4A1
accent
#F2D636
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979