#7E1127#7E1127
#7E1127 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 17.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1127 |
|---|---|
| RGB | rgb(126, 17, 39) |
| HSL | hsl(348, 76%, 28%) |
| HSV | hsv(348, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 69%, 50.6%) |
| CIE-LAB | lab(26.69, 45.33, 17.54) |
| CIE-LCH | lch(26.69, 48.60, 21.16°) |
| OKLab | oklab(38.58% 0.1349 0.0416) |
| OKLCH | oklch(38.58% 0.141 17.1) |
| XYZ | xyz(9.1719, 4.9844, 2.3982) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.41
Burgundy
#800020
ΔE00 2.00
Bordeaux
#7B002C
ΔE00 3.93
Red Wine
#8C0034
ΔE00 4.75
Claret
#680018
ΔE00 4.98
Maroon (survey)
#650021
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1127 #117E68
analogous
#7E115D #7E1127 #7E3111
triadic
#7E1127 #277E11 #11277E
tetradic
#7E1127 #5D7E11 #117E68 #31117E
square
#7E1127 #5D7E11 #117E68 #31117E
split-complementary
#7E1127 #117E31 #115D7E
monochromatic
#1B0408 #480A16 #7E1127 #B41838 #E2274D
Accessibility & contrast
On white
10.52
#7E1127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1127
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1127 | 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)
#333127
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1127; /* rgb */ color: rgb(126, 17, 39); /* oklch */ color: oklch(38.6% 0.141 17.1);
Tailwind
colors: {
custom: {
50: '#ab5d60',
500: '#7e1127',
950: '#000000',
},
}SCSS
$custom: #7e1127; $custom-light: #ab5d60; $custom-dark: #000000;
JSON
{
"hex": "#7e1127",
"rgb": {
"r": 126,
"g": 17,
"b": 39
},
"hsl": {
"h": 347.89,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.3858,
"c": 0.14115,
"h": 17.1
},
"luminance": 0.04983
}Semantic roles & 50–950 ramp
primary
#7E1127
secondary
#37B49B
accent
#F3CC35
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979