#7E1217#7E1217
#7E1217 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 25.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1217 |
|---|---|
| RGB | rgb(126, 18, 23) |
| HSL | hsl(357, 75%, 28%) |
| HSV | hsv(357, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 81.7%, 50.6%) |
| CIE-LAB | lab(26.54, 44.34, 27.75) |
| CIE-LCH | lch(26.54, 52.31, 32.04°) |
| OKLab | oklab(38.39% 0.1279 0.0604) |
| OKLCH | oklch(38.39% 0.141 25.3) |
| XYZ | xyz(8.9763, 4.9316, 1.2897) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.45
Blood
#770001
ΔE00 4.16
Maroon
#800000
ΔE00 4.64
Burgundy
#800020
ΔE00 4.75
Reddy Brown
#6E1005
ΔE00 4.85
Dark Red
#840000
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1217 #127E79
analogous
#7E124D #7E1217 #7E4312
triadic
#7E1217 #177E12 #12177E
tetradic
#7E1217 #4D7E12 #127E79 #43127E
square
#7E1217 #4D7E12 #127E79 #43127E
split-complementary
#7E1217 #127E43 #124D7E
monochromatic
#1B0405 #480A0D #7E1217 #B41A21 #E12A32
Accessibility & contrast
On white
10.57
#7E1217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E1217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1217
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1217 | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1217; /* rgb */ color: rgb(126, 18, 23); /* oklch */ color: oklch(38.4% 0.141 25.3);
Tailwind
colors: {
custom: {
50: '#ac5d54',
500: '#7e1217',
950: '#000000',
},
}SCSS
$custom: #7e1217; $custom-light: #ac5d54; $custom-dark: #000000;
JSON
{
"hex": "#7e1217",
"rgb": {
"r": 126,
"g": 18,
"b": 23
},
"hsl": {
"h": 357.222,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.3839,
"c": 0.14144,
"h": 25.3
},
"luminance": 0.0493
}Semantic roles & 50–950 ramp
primary
#7E1217
secondary
#38B4AE
accent
#F2E936
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978