#7E151E#7E151E
#7E151E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 22.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E151E |
|---|---|
| RGB | rgb(126, 21, 30) |
| HSL | hsl(355, 71%, 29%) |
| HSV | hsv(355, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 76.2%, 50.6%) |
| CIE-LAB | lab(26.93, 43.78, 23.76) |
| CIE-LCH | lch(26.93, 49.81, 28.49°) |
| OKLab | oklab(38.71% 0.1278 0.0537) |
| OKLCH | oklch(38.71% 0.139 22.8) |
| XYZ | xyz(9.1078, 5.0671, 1.7265) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.99
Wine Red
#7B0323
ΔE00 4.30
Crimson (survey)
#8C000F
ΔE00 5.08
Claret
#680018
ΔE00 5.63
Rosewood
#65000B
ΔE00 5.78
Blood
#770001
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E151E #157E75
analogous
#7E1553 #7E151E #7E4115
triadic
#7E151E #1E7E15 #151E7E
tetradic
#7E151E #537E15 #157E75 #41157E
square
#7E151E #537E15 #157E75 #41157E
split-complementary
#7E151E #157E41 #15537E
monochromatic
#1A0406 #4A0C12 #7E151E #B21E2A #DD3140
Accessibility & contrast
On white
10.43
#7E151E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7E151E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E151E
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E151E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E151E | 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)
#36311D
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e151e; /* rgb */ color: rgb(126, 21, 30); /* oklch */ color: oklch(38.7% 0.139 22.8);
Tailwind
colors: {
custom: {
50: '#ab5e59',
500: '#7e151e',
950: '#000000',
},
}SCSS
$custom: #7e151e; $custom-light: #ab5e59; $custom-dark: #000000;
JSON
{
"hex": "#7e151e",
"rgb": {
"r": 126,
"g": 21,
"b": 30
},
"hsl": {
"h": 354.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38706,
"c": 0.1386,
"h": 22.8
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#7E151E
secondary
#3CB3A9
accent
#EEDF3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978