#7E122C#7E122C
#7E122C is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 14.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7E122C |
|---|---|
| RGB | rgb(126, 18, 44) |
| HSL | hsl(346, 75%, 28%) |
| HSV | hsv(346, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 65.1%, 50.6%) |
| CIE-LAB | lab(26.88, 45.37, 14.42) |
| CIE-LCH | lch(26.88, 47.61, 17.63°) |
| OKLab | oklab(38.75% 0.1362 0.035) |
| OKLCH | oklch(38.75% 0.141 14.4) |
| XYZ | xyz(9.2761, 5.0515, 2.8690) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.31
Bordeaux
#7B002C
ΔE00 2.49
Red Wine
#8C0034
ΔE00 3.43
Burgundy
#800020
ΔE00 3.58
Maroon (survey)
#650021
ΔE00 5.56
Claret
#680018
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E122C #127E64
analogous
#7E1262 #7E122C #7E2E12
triadic
#7E122C #2C7E12 #122C7E
tetradic
#7E122C #627E12 #127E64 #2E127E
square
#7E122C #627E12 #127E64 #2E127E
split-complementary
#7E122C #127E2E #12627E
monochromatic
#1B0409 #480A19 #7E122C #B41A3F #E12A56
Accessibility & contrast
On white
10.45
#7E122C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E122C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E122C
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E122C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E122C | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33312C
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e122c; /* rgb */ color: rgb(126, 18, 44); /* oklch */ color: oklch(38.8% 0.141 14.4);
Tailwind
colors: {
custom: {
50: '#aa5e64',
500: '#7e122c',
950: '#000000',
},
}SCSS
$custom: #7e122c; $custom-light: #aa5e64; $custom-dark: #000000;
JSON
{
"hex": "#7e122c",
"rgb": {
"r": 126,
"g": 18,
"b": 44
},
"hsl": {
"h": 345.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38753,
"c": 0.14058,
"h": 14.4
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#7E122C
secondary
#38B496
accent
#F2C436
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A