#7F1423#7F1423
#7F1423 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 20.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1423 |
|---|---|
| RGB | rgb(127, 20, 35) |
| HSL | hsl(352, 73%, 29%) |
| HSV | hsv(352, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 72.4%, 50.2%) |
| CIE-LAB | lab(27.12, 44.61, 20.78) |
| CIE-LCH | lch(27.12, 49.21, 24.98°) |
| OKLab | oklab(38.91% 0.1315 0.0482) |
| OKLCH | oklch(38.91% 0.14 20.1) |
| XYZ | xyz(9.3070, 5.1352, 2.0909) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.74
Wine Red
#7B0323
ΔE00 2.72
Claret
#680018
ΔE00 5.20
Bordeaux
#7B002C
ΔE00 5.91
Red Wine
#8C0034
ΔE00 6.45
Rosewood
#65000B
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1423 #147F70
analogous
#7F1459 #7F1423 #7F3B14
triadic
#7F1423 #237F14 #14237F
tetradic
#7F1423 #597F14 #147F70 #3B147F
square
#7F1423 #597F14 #147F70 #3B147F
split-complementary
#7F1423 #147F3B #14597F
monochromatic
#1A0407 #4A0C14 #7F1423 #B41C32 #DE2F48
Accessibility & contrast
On white
10.36
#7F1423 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1423 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1423
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1423 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1423 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1423; /* rgb */ color: rgb(127, 20, 35); /* oklch */ color: oklch(38.9% 0.140 20.1);
Tailwind
colors: {
custom: {
50: '#ac5e5d',
500: '#7f1423',
950: '#000000',
},
}SCSS
$custom: #7f1423; $custom-light: #ac5e5d; $custom-dark: #000000;
JSON
{
"hex": "#7f1423",
"rgb": {
"r": 127,
"g": 20,
"b": 35
},
"hsl": {
"h": 351.589,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3891,
"c": 0.14002,
"h": 20.1
},
"luminance": 0.05134
}Semantic roles & 50–950 ramp
primary
#7F1423
secondary
#3BB4A3
accent
#EFD638
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979