#7F1524#7F1524
#7F1524 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 19.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1524 |
|---|---|
| RGB | rgb(127, 21, 36) |
| HSL | hsl(352, 72%, 29%) |
| HSV | hsv(352, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 71.7%, 50.2%) |
| CIE-LAB | lab(27.23, 44.38, 20.26) |
| CIE-LCH | lch(27.23, 48.79, 24.54°) |
| OKLab | oklab(39% 0.131 0.0472) |
| OKLCH | oklch(39% 0.139 19.8) |
| XYZ | xyz(9.3401, 5.1772, 2.1762) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.80
Wine Red
#7B0323
ΔE00 2.61
Claret
#680018
ΔE00 5.24
Bordeaux
#7B002C
ΔE00 5.71
Red Wine
#8C0034
ΔE00 6.23
Rosewood
#65000B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1524 #157F70
analogous
#7F1559 #7F1524 #7F3B15
triadic
#7F1524 #247F15 #15247F
tetradic
#7F1524 #597F15 #157F70 #3B157F
square
#7F1524 #597F15 #157F70 #3B157F
split-complementary
#7F1524 #157F3B #15597F
monochromatic
#1A0407 #4A0C15 #7F1524 #B41E33 #DD314A
Accessibility & contrast
On white
10.32
#7F1524 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1524 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1524
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1524 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1524 | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1524; /* rgb */ color: rgb(127, 21, 36); /* oklch */ color: oklch(39.0% 0.139 19.8);
Tailwind
colors: {
custom: {
50: '#ab5f5e',
500: '#7f1524',
950: '#000000',
},
}SCSS
$custom: #7f1524; $custom-light: #ab5f5e; $custom-dark: #000000;
JSON
{
"hex": "#7f1524",
"rgb": {
"r": 127,
"g": 21,
"b": 36
},
"hsl": {
"h": 351.509,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39002,
"c": 0.13922,
"h": 19.8
},
"luminance": 0.05176
}Semantic roles & 50–950 ramp
primary
#7F1524
secondary
#3CB4A3
accent
#EED539
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979