#7E1214#7E1214
#7E1214 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 26.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1214 |
|---|---|
| RGB | rgb(126, 18, 20) |
| HSL | hsl(359, 75%, 28%) |
| HSV | hsv(359, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 84.1%, 50.6%) |
| CIE-LAB | lab(26.51, 44.24, 29.53) |
| CIE-LCH | lch(26.51, 53.19, 33.72°) |
| OKLab | oklab(38.36% 0.1269 0.0632) |
| OKLCH | oklch(38.36% 0.142 26.5) |
| XYZ | xyz(8.9479, 4.9202, 1.1403) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.96
Blood
#770001
ΔE00 3.36
Maroon
#800000
ΔE00 3.70
Dark Red
#840000
ΔE00 4.03
Reddy Brown
#6E1005
ΔE00 4.16
Indian Red
#850E04
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1214 #127E7C
analogous
#7E124A #7E1214 #7E4612
triadic
#7E1214 #147E12 #12147E
tetradic
#7E1214 #4A7E12 #127E7C #46127E
square
#7E1214 #4A7E12 #127E7C #46127E
split-complementary
#7E1214 #127E46 #124A7E
monochromatic
#1B0404 #480A0B #7E1214 #B41A1C #E12A2D
Accessibility & contrast
On white
10.59
#7E1214 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1214 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1214
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1214 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1214 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363012
Deuteranopia (green-blind)
#50470E
Tritanopia (blue-blind)
#8C0015
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1214; /* rgb */ color: rgb(126, 18, 20); /* oklch */ color: oklch(38.4% 0.142 26.5);
Tailwind
colors: {
custom: {
50: '#ac5d52',
500: '#7e1214',
950: '#000000',
},
}SCSS
$custom: #7e1214; $custom-light: #ac5d52; $custom-dark: #000000;
JSON
{
"hex": "#7e1214",
"rgb": {
"r": 126,
"g": 18,
"b": 20
},
"hsl": {
"h": 358.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38356,
"c": 0.14176,
"h": 26.5
},
"luminance": 0.04919
}Semantic roles & 50–950 ramp
primary
#7E1214
secondary
#38B4B2
accent
#F2EE36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978