#7E122B#7E122B
#7E122B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.141 H 15.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7E122B |
|---|---|
| RGB | rgb(126, 18, 43) |
| HSL | hsl(346, 75%, 28%) |
| HSV | hsv(346, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 65.9%, 50.6%) |
| CIE-LAB | lab(26.86, 45.31, 15.07) |
| CIE-LCH | lch(26.86, 47.75, 18.39°) |
| OKLab | oklab(38.73% 0.1357 0.0364) |
| OKLCH | oklch(38.73% 0.141 15) |
| XYZ | xyz(9.2575, 5.0441, 2.7712) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.04
Bordeaux
#7B002C
ΔE00 2.77
Burgundy
#800020
ΔE00 3.23
Red Wine
#8C0034
ΔE00 3.68
Claret
#680018
ΔE00 5.55
Maroon (survey)
#650021
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E122B #127E65
analogous
#7E1261 #7E122B #7E2F12
triadic
#7E122B #2B7E12 #122B7E
tetradic
#7E122B #617E12 #127E65 #2F127E
square
#7E122B #617E12 #127E65 #2F127E
split-complementary
#7E122B #127E2F #12617E
monochromatic
#1B0409 #480A19 #7E122B #B41A3D #E12A54
Accessibility & contrast
On white
10.46
#7E122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E122B
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E122B | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e122b; /* rgb */ color: rgb(126, 18, 43); /* oklch */ color: oklch(38.7% 0.141 15.0);
Tailwind
colors: {
custom: {
50: '#aa5e64',
500: '#7e122b',
950: '#000000',
},
}SCSS
$custom: #7e122b; $custom-light: #aa5e64; $custom-dark: #000000;
JSON
{
"hex": "#7e122b",
"rgb": {
"r": 126,
"g": 18,
"b": 43
},
"hsl": {
"h": 346.111,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38731,
"c": 0.14053,
"h": 15
},
"luminance": 0.05043
}Semantic roles & 50–950 ramp
primary
#7E122B
secondary
#38B497
accent
#F2C636
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979