#7F1427#7F1427
#7F1427 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 17.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1427 |
|---|---|
| RGB | rgb(127, 20, 39) |
| HSL | hsl(349, 73%, 29%) |
| HSV | hsv(349, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.19, 44.83, 18.21) |
| CIE-LCH | lch(27.19, 48.39, 22.11°) |
| OKLab | oklab(38.98% 0.1331 0.043) |
| OKLCH | oklch(38.98% 0.14 17.9) |
| XYZ | xyz(9.3698, 5.1603, 2.4217) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.89
Burgundy
#800020
ΔE00 1.95
Bordeaux
#7B002C
ΔE00 4.52
Red Wine
#8C0034
ΔE00 5.09
Claret
#680018
ΔE00 5.23
Wine
#722F37
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1427 #147F6C
analogous
#7F145D #7F1427 #7F3714
triadic
#7F1427 #277F14 #14277F
tetradic
#7F1427 #5D7F14 #147F6C #37147F
square
#7F1427 #5D7F14 #147F6C #37147F
split-complementary
#7F1427 #147F37 #145D7F
monochromatic
#1A0408 #4A0C17 #7F1427 #B41C37 #DE2F4E
Accessibility & contrast
On white
10.34
#7F1427 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1427 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1427
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1427 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1427 | 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)
#353227
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1427; /* rgb */ color: rgb(127, 20, 39); /* oklch */ color: oklch(39.0% 0.140 17.9);
Tailwind
colors: {
custom: {
50: '#ab5e60',
500: '#7f1427',
950: '#000000',
},
}SCSS
$custom: #7f1427; $custom-light: #ab5e60; $custom-dark: #000000;
JSON
{
"hex": "#7f1427",
"rgb": {
"r": 127,
"g": 20,
"b": 39
},
"hsl": {
"h": 349.346,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.38984,
"c": 0.13991,
"h": 17.9
},
"luminance": 0.05159
}Semantic roles & 50–950 ramp
primary
#7F1427
secondary
#3BB49F
accent
#EFCF38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979