#7E121F#7E121F
#7E121F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 21.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E121F |
|---|---|
| RGB | rgb(126, 18, 31) |
| HSL | hsl(353, 75%, 28%) |
| HSV | hsv(353, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 75.4%, 50.6%) |
| CIE-LAB | lab(26.65, 44.66, 22.79) |
| CIE-LCH | lch(26.65, 50.14, 27.03°) |
| OKLab | oklab(38.5% 0.1308 0.0518) |
| OKLCH | oklch(38.5% 0.141 21.6) |
| XYZ | xyz(9.0689, 4.9686, 1.7776) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.19
Wine Red
#7B0323
ΔE00 3.50
Claret
#680018
ΔE00 5.17
Crimson (survey)
#8C000F
ΔE00 5.67
Rosewood
#65000B
ΔE00 5.85
Blood
#770001
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E121F #127E71
analogous
#7E1255 #7E121F #7E3B12
triadic
#7E121F #1F7E12 #121F7E
tetradic
#7E121F #557E12 #127E71 #3B127E
square
#7E121F #557E12 #127E71 #3B127E
split-complementary
#7E121F #127E3B #12557E
monochromatic
#1B0407 #480A12 #7E121F #B41A2C #E12A40
Accessibility & contrast
On white
10.53
#7E121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E121F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E121F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e121f; /* rgb */ color: rgb(126, 18, 31); /* oklch */ color: oklch(38.5% 0.141 21.6);
Tailwind
colors: {
custom: {
50: '#ab5d5a',
500: '#7e121f',
950: '#000000',
},
}SCSS
$custom: #7e121f; $custom-light: #ab5d5a; $custom-dark: #000000;
JSON
{
"hex": "#7e121f",
"rgb": {
"r": 126,
"g": 18,
"b": 31
},
"hsl": {
"h": 352.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38503,
"c": 0.14072,
"h": 21.6
},
"luminance": 0.04967
}Semantic roles & 50–950 ramp
primary
#7E121F
secondary
#38B4A5
accent
#F2DB36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978