#7E151F#7E151F
#7E151F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 22.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E151F |
|---|---|
| RGB | rgb(126, 21, 31) |
| HSL | hsl(354, 71%, 29%) |
| HSV | hsv(354, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 75.4%, 50.6%) |
| CIE-LAB | lab(26.94, 43.83, 23.13) |
| CIE-LCH | lch(26.94, 49.56, 27.83°) |
| OKLab | oklab(38.72% 0.1281 0.0526) |
| OKLCH | oklch(38.72% 0.139 22.3) |
| XYZ | xyz(9.1207, 5.0723, 1.7949) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.70
Wine Red
#7B0323
ΔE00 3.97
Crimson (survey)
#8C000F
ΔE00 5.39
Claret
#680018
ΔE00 5.48
Rosewood
#65000B
ΔE00 5.88
Blood
#770001
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E151F #157E74
analogous
#7E1554 #7E151F #7E4015
triadic
#7E151F #1F7E15 #151F7E
tetradic
#7E151F #547E15 #157E74 #40157E
square
#7E151F #547E15 #157E74 #40157E
split-complementary
#7E151F #157E40 #15547E
monochromatic
#1A0406 #4A0C12 #7E151F #B21E2C #DD3141
Accessibility & contrast
On white
10.43
#7E151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E151F
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E151F | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e151f; /* rgb */ color: rgb(126, 21, 31); /* oklch */ color: oklch(38.7% 0.139 22.3);
Tailwind
colors: {
custom: {
50: '#ab5e5a',
500: '#7e151f',
950: '#000000',
},
}SCSS
$custom: #7e151f; $custom-light: #ab5e5a; $custom-dark: #000000;
JSON
{
"hex": "#7e151f",
"rgb": {
"r": 126,
"g": 21,
"b": 31
},
"hsl": {
"h": 354.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38721,
"c": 0.13852,
"h": 22.3
},
"luminance": 0.05071
}Semantic roles & 50–950 ramp
primary
#7E151F
secondary
#3CB3A8
accent
#EEDD3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979