#7E1226#7E1226
#7E1226 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 17.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1226 |
|---|---|
| RGB | rgb(126, 18, 38) |
| HSL | hsl(349, 75%, 28%) |
| HSV | hsv(349, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 69.8%, 50.6%) |
| CIE-LAB | lab(26.76, 45.01, 18.30) |
| CIE-LCH | lch(26.76, 48.59, 22.13°) |
| OKLab | oklab(38.63% 0.1336 0.0431) |
| OKLCH | oklch(38.63% 0.14 17.9) |
| XYZ | xyz(9.1714, 5.0096, 2.3174) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.60
Burgundy
#800020
ΔE00 1.75
Bordeaux
#7B002C
ΔE00 4.42
Claret
#680018
ΔE00 4.93
Red Wine
#8C0034
ΔE00 5.17
Maroon (survey)
#650021
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1226 #127E6A
analogous
#7E125C #7E1226 #7E3412
triadic
#7E1226 #267E12 #12267E
tetradic
#7E1226 #5C7E12 #127E6A #34127E
square
#7E1226 #5C7E12 #127E6A #34127E
split-complementary
#7E1226 #127E34 #125C7E
monochromatic
#1B0408 #480A16 #7E1226 #B41A36 #E12A4C
Accessibility & contrast
On white
10.49
#7E1226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1226
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1226 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343126
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1226; /* rgb */ color: rgb(126, 18, 38); /* oklch */ color: oklch(38.6% 0.140 17.9);
Tailwind
colors: {
custom: {
50: '#ab5e60',
500: '#7e1226',
950: '#000000',
},
}SCSS
$custom: #7e1226; $custom-light: #ab5e60; $custom-dark: #000000;
JSON
{
"hex": "#7e1226",
"rgb": {
"r": 126,
"g": 18,
"b": 38
},
"hsl": {
"h": 348.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38627,
"c": 0.14043,
"h": 17.9
},
"luminance": 0.05008
}Semantic roles & 50–950 ramp
primary
#7E1226
secondary
#38B49D
accent
#F2CF36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979