#7F1526#7F1526
#7F1526 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 18.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1526 |
|---|---|
| RGB | rgb(127, 21, 38) |
| HSL | hsl(350, 72%, 29%) |
| HSV | hsv(350, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 70.1%, 50.2%) |
| CIE-LAB | lab(27.27, 44.49, 18.98) |
| CIE-LCH | lch(27.27, 48.37, 23.11°) |
| OKLab | oklab(39.04% 0.1318 0.0446) |
| OKLCH | oklch(39.04% 0.139 18.7) |
| XYZ | xyz(9.3715, 5.1898, 2.3416) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.86
Wine Red
#7B0323
ΔE00 2.18
Bordeaux
#7B002C
ΔE00 5.01
Claret
#680018
ΔE00 5.23
Red Wine
#8C0034
ΔE00 5.55
Wine
#722F37
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1526 #157F6E
analogous
#7F155B #7F1526 #7F3915
triadic
#7F1526 #267F15 #15267F
tetradic
#7F1526 #5B7F15 #157F6E #39157F
square
#7F1526 #5B7F15 #157F6E #39157F
split-complementary
#7F1526 #157F39 #155B7F
monochromatic
#1A0408 #4A0C16 #7F1526 #B41E36 #DD314D
Accessibility & contrast
On white
10.31
#7F1526 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1526 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1526
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1526 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363226
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1526; /* rgb */ color: rgb(127, 21, 38); /* oklch */ color: oklch(39.0% 0.139 18.7);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1526',
950: '#000000',
},
}SCSS
$custom: #7f1526; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1526",
"rgb": {
"r": 127,
"g": 21,
"b": 38
},
"hsl": {
"h": 350.377,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39039,
"c": 0.13915,
"h": 18.7
},
"luminance": 0.05188
}Semantic roles & 50–950 ramp
primary
#7F1526
secondary
#3CB4A1
accent
#EED139
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979