#7E1F17#7E1F17
#7E1F17 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.131 H 29.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F17 |
|---|---|
| RGB | rgb(126, 31, 23) |
| HSL | hsl(5, 69%, 29%) |
| HSV | hsv(5, 82%, 49%) |
| CMYK | cmyk(0%, 75.4%, 81.7%, 50.6%) |
| CIE-LAB | lab(28.06, 40.08, 29.32) |
| CIE-LCH | lch(28.06, 49.66, 36.19°) |
| OKLab | oklab(39.52% 0.1145 0.0639) |
| OKLCH | oklch(39.52% 0.131 29.2) |
| XYZ | xyz(9.2499, 5.4789, 1.3809) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.79
Crimson (survey)
#8C000F
ΔE00 3.79
Maroon
#800000
ΔE00 4.04
Blood
#770001
ΔE00 4.16
Dark Red
#840000
ΔE00 4.19
Reddy Brown
#6E1005
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F17 #17767E
analogous
#7E1743 #7E1F17 #7E5317
triadic
#7E1F17 #177E1F #1F177E
tetradic
#7E1F17 #437E17 #17767E #53177E
square
#7E1F17 #437E17 #17767E #53177E
split-complementary
#7E1F17 #177E53 #17437E
monochromatic
#1A0605 #4A120E #7E1F17 #B22C20 #DA4235
Accessibility & contrast
On white
10.02
#7E1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F17
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F17 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1f17; /* rgb */ color: rgb(126, 31, 23); /* oklch */ color: oklch(39.5% 0.131 29.2);
Tailwind
colors: {
custom: {
50: '#ab6255',
500: '#7e1f17',
950: '#000000',
},
}SCSS
$custom: #7e1f17; $custom-light: #ab6255; $custom-dark: #000000;
JSON
{
"hex": "#7e1f17",
"rgb": {
"r": 126,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.66,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3952,
"c": 0.13107,
"h": 29.2
},
"luminance": 0.05477
}Semantic roles & 50–950 ramp
primary
#7E1F17
secondary
#3EAAB3
accent
#DEEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78