#7F1426#7F1426
#7F1426 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 18.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1426 |
|---|---|
| RGB | rgb(127, 20, 38) |
| HSL | hsl(350, 73%, 29%) |
| HSV | hsv(350, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 70.1%, 50.2%) |
| CIE-LAB | lab(27.17, 44.77, 18.86) |
| CIE-LCH | lch(27.17, 48.58, 22.84°) |
| OKLab | oklab(38.96% 0.1327 0.0444) |
| OKLCH | oklch(38.96% 0.14 18.5) |
| XYZ | xyz(9.3535, 5.1537, 2.3356) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.78
Wine Red
#7B0323
ΔE00 2.03
Bordeaux
#7B002C
ΔE00 4.86
Claret
#680018
ΔE00 5.18
Red Wine
#8C0034
ΔE00 5.42
Wine
#722F37
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1426 #147F6D
analogous
#7F145C #7F1426 #7F3814
triadic
#7F1426 #267F14 #14267F
tetradic
#7F1426 #5C7F14 #147F6D #38147F
square
#7F1426 #5C7F14 #147F6D #38147F
split-complementary
#7F1426 #147F38 #145C7F
monochromatic
#1A0408 #4A0C16 #7F1426 #B41C36 #DE2F4D
Accessibility & contrast
On white
10.34
#7F1426 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1426 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1426
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1426 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1426 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353226
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1426; /* rgb */ color: rgb(127, 20, 38); /* oklch */ color: oklch(39.0% 0.140 18.5);
Tailwind
colors: {
custom: {
50: '#ab5e60',
500: '#7f1426',
950: '#000000',
},
}SCSS
$custom: #7f1426; $custom-light: #ab5e60; $custom-dark: #000000;
JSON
{
"hex": "#7f1426",
"rgb": {
"r": 127,
"g": 20,
"b": 38
},
"hsl": {
"h": 349.907,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.38965,
"c": 0.13992,
"h": 18.5
},
"luminance": 0.05152
}Semantic roles & 50–950 ramp
primary
#7F1426
secondary
#3BB4A0
accent
#EFD138
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979