#7E161F#7E161F
#7E161F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 22.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E161F |
|---|---|
| RGB | rgb(126, 22, 31) |
| HSL | hsl(355, 70%, 29%) |
| HSV | hsv(355, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 75.4%, 50.6%) |
| CIE-LAB | lab(27.05, 43.53, 23.26) |
| CIE-LCH | lch(27.05, 49.35, 28.12°) |
| OKLab | oklab(38.8% 0.1272 0.0529) |
| OKLCH | oklch(38.8% 0.138 22.6) |
| XYZ | xyz(9.1395, 5.1098, 1.8011) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.88
Wine Red
#7B0323
ΔE00 4.14
Crimson (survey)
#8C000F
ΔE00 5.30
Claret
#680018
ΔE00 5.59
Rosewood
#65000B
ΔE00 5.90
Blood
#770001
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E161F #167E75
analogous
#7E1653 #7E161F #7E4116
triadic
#7E161F #1F7E16 #161F7E
tetradic
#7E161F #537E16 #167E75 #41167E
square
#7E161F #537E16 #167E75 #41167E
split-complementary
#7E161F #167E41 #16537E
monochromatic
#1A0506 #4A0D12 #7E161F #B21F2C #DB3342
Accessibility & contrast
On white
10.39
#7E161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E161F
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E161F | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e161f; /* rgb */ color: rgb(126, 22, 31); /* oklch */ color: oklch(38.8% 0.138 22.6);
Tailwind
colors: {
custom: {
50: '#ab5f5a',
500: '#7e161f',
950: '#000000',
},
}SCSS
$custom: #7e161f; $custom-light: #ab5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7e161f",
"rgb": {
"r": 126,
"g": 22,
"b": 31
},
"hsl": {
"h": 354.808,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38799,
"c": 0.13775,
"h": 22.6
},
"luminance": 0.05108
}Semantic roles & 50–950 ramp
primary
#7E161F
secondary
#3DB3A9
accent
#EDDE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979