#7E1D17#7E1D17
#7E1D17 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 28.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D17 |
|---|---|
| RGB | rgb(126, 29, 23) |
| HSL | hsl(3, 69%, 29%) |
| HSV | hsv(3, 82%, 49%) |
| CMYK | cmyk(0%, 77%, 81.7%, 50.6%) |
| CIE-LAB | lab(27.78, 40.84, 29.04) |
| CIE-LCH | lch(27.78, 50.11, 35.42°) |
| OKLab | oklab(39.32% 0.1169 0.0632) |
| OKLCH | oklch(39.32% 0.133 28.4) |
| XYZ | xyz(9.1993, 5.3777, 1.3641) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.57
Indian Red
#850E04
ΔE00 3.93
Maroon
#800000
ΔE00 4.02
Blood
#770001
ΔE00 4.02
Dark Red
#840000
ΔE00 4.21
Reddy Brown
#6E1005
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D17 #17787E
analogous
#7E1745 #7E1D17 #7E5117
triadic
#7E1D17 #177E1D #1D177E
tetradic
#7E1D17 #457E17 #17787E #51177E
square
#7E1D17 #457E17 #17787E #51177E
split-complementary
#7E1D17 #177E51 #17457E
monochromatic
#1A0605 #4A110E #7E1D17 #B22920 #DA3F35
Accessibility & contrast
On white
10.12
#7E1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1D17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D17
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D17 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1d17; /* rgb */ color: rgb(126, 29, 23); /* oklch */ color: oklch(39.3% 0.133 28.4);
Tailwind
colors: {
custom: {
50: '#ab6155',
500: '#7e1d17',
950: '#000000',
},
}SCSS
$custom: #7e1d17; $custom-light: #ab6155; $custom-dark: #000000;
JSON
{
"hex": "#7e1d17",
"rgb": {
"r": 126,
"g": 29,
"b": 23
},
"hsl": {
"h": 3.495,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39317,
"c": 0.13287,
"h": 28.4
},
"luminance": 0.05376
}Semantic roles & 50–950 ramp
primary
#7E1D17
secondary
#3EACB3
accent
#E2EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78