#7E1212#7E1212
#7E1212 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 27.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1212 |
|---|---|
| RGB | rgb(126, 18, 18) |
| HSL | hsl(0, 75%, 28%) |
| HSV | hsv(0, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 85.7%, 50.6%) |
| CIE-LAB | lab(26.49, 44.18, 30.68) |
| CIE-LCH | lch(26.49, 53.79, 34.78°) |
| OKLab | oklab(38.34% 0.1263 0.0649) |
| OKLCH | oklch(38.34% 0.142 27.2) |
| XYZ | xyz(8.9308, 4.9134, 1.0503) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.80
Blood
#770001
ΔE00 2.92
Maroon
#800000
ΔE00 3.12
Dark Red
#840000
ΔE00 3.46
Indian Red
#850E04
ΔE00 3.60
Reddy Brown
#6E1005
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1212 #127E7E
analogous
#7E1248 #7E1212 #7E4812
triadic
#7E1212 #127E12 #12127E
tetradic
#7E1212 #487E12 #127E7E #48127E
square
#7E1212 #487E12 #127E7E #48127E
split-complementary
#7E1212 #127E48 #12487E
monochromatic
#1B0404 #480A0A #7E1212 #B41A1A #E12A2A
Accessibility & contrast
On white
10.59
#7E1212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1212
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1212 | 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)
#363010
Deuteranopia (green-blind)
#50470C
Tritanopia (blue-blind)
#8C0014
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1212; /* rgb */ color: rgb(126, 18, 18); /* oklch */ color: oklch(38.3% 0.142 27.2);
Tailwind
colors: {
custom: {
50: '#ac5d51',
500: '#7e1212',
950: '#000000',
},
}SCSS
$custom: #7e1212; $custom-light: #ac5d51; $custom-dark: #000000;
JSON
{
"hex": "#7e1212",
"rgb": {
"r": 126,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38335,
"c": 0.14199,
"h": 27.2
},
"luminance": 0.04912
}Semantic roles & 50–950 ramp
primary
#7E1212
secondary
#38B4B4
accent
#F2F236
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978