#7E1F13#7E1F13
#7E1F13 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.132 H 30.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F13 |
|---|---|
| RGB | rgb(126, 31, 19) |
| HSL | hsl(7, 74%, 28%) |
| HSV | hsv(7, 85%, 49%) |
| CMYK | cmyk(0%, 75.4%, 84.9%, 50.6%) |
| CIE-LAB | lab(28.02, 39.95, 31.56) |
| CIE-LCH | lch(28.02, 50.91, 38.31°) |
| OKLab | oklab(39.48% 0.1132 0.0673) |
| OKLCH | oklch(39.48% 0.132 30.7) |
| XYZ | xyz(9.2128, 5.4640, 1.1855) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.93
Maroon
#800000
ΔE00 3.48
Dark Red
#840000
ΔE00 3.56
Blood
#770001
ΔE00 3.91
Reddy Brown
#6E1005
ΔE00 3.95
Crimson (survey)
#8C000F
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F13 #13727E
analogous
#7E133C #7E1F13 #7E5413
triadic
#7E1F13 #137E1F #1F137E
tetradic
#7E1F13 #3C7E13 #13727E #54137E
square
#7E1F13 #3C7E13 #13727E #54137E
split-complementary
#7E1F13 #137E54 #133C7E
monochromatic
#1B0704 #49120B #7E1F13 #B32C1B #DF402C
Accessibility & contrast
On white
10.04
#7E1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1F13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F13
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F13 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#534A0E
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1f13; /* rgb */ color: rgb(126, 31, 19); /* oklch */ color: oklch(39.5% 0.132 30.7);
Tailwind
colors: {
custom: {
50: '#ac6252',
500: '#7e1f13',
950: '#000000',
},
}SCSS
$custom: #7e1f13; $custom-light: #ac6252; $custom-dark: #000000;
JSON
{
"hex": "#7e1f13",
"rgb": {
"r": 126,
"g": 31,
"b": 19
},
"hsl": {
"h": 6.729,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.39478,
"c": 0.13172,
"h": 30.7
},
"luminance": 0.05463
}Semantic roles & 50–950 ramp
primary
#7E1F13
secondary
#39A6B4
accent
#DCF037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78