#7F1626#7F1626
#7F1626 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 18.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1626 |
|---|---|
| RGB | rgb(127, 22, 38) |
| HSL | hsl(351, 70%, 29%) |
| HSV | hsv(351, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 70.1%, 50.2%) |
| CIE-LAB | lab(27.37, 44.19, 19.11) |
| CIE-LCH | lch(27.37, 48.15, 23.39°) |
| OKLab | oklab(39.12% 0.1309 0.0449) |
| OKLCH | oklch(39.12% 0.138 18.9) |
| XYZ | xyz(9.3902, 5.2272, 2.3479) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.95
Wine Red
#7B0323
ΔE00 2.34
Bordeaux
#7B002C
ΔE00 5.17
Claret
#680018
ΔE00 5.30
Red Wine
#8C0034
ΔE00 5.68
Wine
#722F37
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1626 #167F6F
analogous
#7F165B #7F1626 #7F3B16
triadic
#7F1626 #267F16 #16267F
tetradic
#7F1626 #5B7F16 #167F6F #3B167F
square
#7F1626 #5B7F16 #167F6F #3B167F
split-complementary
#7F1626 #167F3B #165B7F
monochromatic
#1A0508 #4B0D16 #7F1626 #B31F36 #DC344D
Accessibility & contrast
On white
10.27
#7F1626 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1626 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1626
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1626 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1626 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1626; /* rgb */ color: rgb(127, 22, 38); /* oklch */ color: oklch(39.1% 0.138 18.9);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1626',
950: '#000000',
},
}SCSS
$custom: #7f1626; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1626",
"rgb": {
"r": 127,
"g": 22,
"b": 38
},
"hsl": {
"h": 350.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39116,
"c": 0.13835,
"h": 18.9
},
"luminance": 0.05226
}Semantic roles & 50–950 ramp
primary
#7F1626
secondary
#3DB4A2
accent
#EDD23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979