#7E2131#7E2131
#7E2131 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.127 H 15.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2131 |
|---|---|
| RGB | rgb(126, 33, 49) |
| HSL | hsl(350, 58%, 31%) |
| HSV | hsv(350, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 61.1%, 50.6%) |
| CIE-LAB | lab(28.76, 40.74, 13.57) |
| CIE-LCH | lch(28.76, 42.94, 18.42°) |
| OKLab | oklab(40.18% 0.1223 0.0334) |
| OKLCH | oklch(40.18% 0.127 15.3) |
| XYZ | xyz(9.7034, 5.7465, 3.5034) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.91
Wine
#722F37
ΔE00 4.16
Bordeaux
#7B002C
ΔE00 4.23
Red Wine
#8C0034
ΔE00 4.42
Burgundy
#800020
ΔE00 4.69
Cranberry
#9E003A
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2131 #217E6E
analogous
#7E215F #7E2131 #7E3F21
triadic
#7E2131 #317E21 #21317E
tetradic
#7E2131 #5F7E21 #217E6E #3F217E
square
#7E2131 #5F7E21 #217E6E #3F217E
split-complementary
#7E2131 #217E3F #215F7E
monochromatic
#1D080B #4E141E #7E2131 #AE2E44 #D04A61
Accessibility & contrast
On white
9.77
#7E2131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E2131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2131
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2131 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393831
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#8A0828
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2131; /* rgb */ color: rgb(126, 33, 49); /* oklch */ color: oklch(40.2% 0.127 15.3);
Tailwind
colors: {
custom: {
50: '#a96468',
500: '#7e2131',
950: '#000000',
},
}SCSS
$custom: #7e2131; $custom-light: #a96468; $custom-dark: #000000;
JSON
{
"hex": "#7e2131",
"rgb": {
"r": 126,
"g": 33,
"b": 49
},
"hsl": {
"h": 349.677,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40182,
"c": 0.12673,
"h": 15.3
},
"luminance": 0.05745
}Semantic roles & 50–950 ramp
primary
#7E2131
secondary
#4AB19F
accent
#E2C746
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A