#7E131F#7E131F
#7E131F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 21.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7E131F |
|---|---|
| RGB | rgb(126, 19, 31) |
| HSL | hsl(353, 74%, 28%) |
| HSV | hsv(353, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 75.4%, 50.6%) |
| CIE-LAB | lab(26.74, 44.39, 22.90) |
| CIE-LCH | lch(26.74, 49.95, 27.29°) |
| OKLab | oklab(38.57% 0.13 0.0521) |
| OKLCH | oklch(38.57% 0.14 21.8) |
| XYZ | xyz(9.0855, 5.0017, 1.7831) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.35
Wine Red
#7B0323
ΔE00 3.65
Claret
#680018
ΔE00 5.27
Crimson (survey)
#8C000F
ΔE00 5.58
Rosewood
#65000B
ΔE00 5.86
Blood
#770001
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E131F #137E72
analogous
#7E1354 #7E131F #7E3C13
triadic
#7E131F #1F7E13 #131F7E
tetradic
#7E131F #547E13 #137E72 #3C137E
square
#7E131F #547E13 #137E72 #3C137E
split-complementary
#7E131F #137E3C #13547E
monochromatic
#1B0407 #490B12 #7E131F #B31B2C #DF2C40
Accessibility & contrast
On white
10.50
#7E131F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E131F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E131F
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E131F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E131F | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e131f; /* rgb */ color: rgb(126, 19, 31); /* oklch */ color: oklch(38.6% 0.140 21.8);
Tailwind
colors: {
custom: {
50: '#ab5e5a',
500: '#7e131f',
950: '#000000',
},
}SCSS
$custom: #7e131f; $custom-light: #ab5e5a; $custom-dark: #000000;
JSON
{
"hex": "#7e131f",
"rgb": {
"r": 126,
"g": 19,
"b": 31
},
"hsl": {
"h": 353.271,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.38573,
"c": 0.14001,
"h": 21.8
},
"luminance": 0.05
}Semantic roles & 50–950 ramp
primary
#7E131F
secondary
#39B4A6
accent
#F0DC37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979