#7F1428#7F1428
#7F1428 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 17.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1428 |
|---|---|
| RGB | rgb(127, 20, 40) |
| HSL | hsl(349, 73%, 29%) |
| HSV | hsv(349, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.21, 44.88, 17.57) |
| CIE-LCH | lch(27.21, 48.20, 21.38°) |
| OKLab | oklab(39% 0.1335 0.0417) |
| OKLCH | oklch(39% 0.14 17.3) |
| XYZ | xyz(9.3866, 5.1670, 2.5102) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.83
Burgundy
#800020
ΔE00 2.17
Bordeaux
#7B002C
ΔE00 4.18
Red Wine
#8C0034
ΔE00 4.76
Claret
#680018
ΔE00 5.30
Wine
#722F37
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1428 #147F6B
analogous
#7F145E #7F1428 #7F3614
triadic
#7F1428 #287F14 #14287F
tetradic
#7F1428 #5E7F14 #147F6B #36147F
square
#7F1428 #5E7F14 #147F6B #36147F
split-complementary
#7F1428 #147F36 #145E7F
monochromatic
#1A0408 #4A0C17 #7F1428 #B41C39 #DE2F50
Accessibility & contrast
On white
10.33
#7F1428 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1428 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1428
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1428 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1428; /* rgb */ color: rgb(127, 20, 40); /* oklch */ color: oklch(39.0% 0.140 17.3);
Tailwind
colors: {
custom: {
50: '#ab5e61',
500: '#7f1428',
950: '#000000',
},
}SCSS
$custom: #7f1428; $custom-light: #ab5e61; $custom-dark: #000000;
JSON
{
"hex": "#7f1428",
"rgb": {
"r": 127,
"g": 20,
"b": 40
},
"hsl": {
"h": 348.785,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.39004,
"c": 0.13991,
"h": 17.3
},
"luminance": 0.05166
}Semantic roles & 50–950 ramp
primary
#7F1428
secondary
#3BB49D
accent
#EFCD38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979