#7F1528#7F1528
#7F1528 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 17.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1528 |
|---|---|
| RGB | rgb(127, 21, 40) |
| HSL | hsl(349, 72%, 29%) |
| HSV | hsv(349, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.31, 44.60, 17.70) |
| CIE-LCH | lch(27.31, 47.98, 21.64°) |
| OKLab | oklab(39.08% 0.1326 0.042) |
| OKLCH | oklch(39.08% 0.139 17.6) |
| XYZ | xyz(9.4046, 5.2030, 2.5162) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.95
Burgundy
#800020
ΔE00 2.19
Bordeaux
#7B002C
ΔE00 4.34
Red Wine
#8C0034
ΔE00 4.89
Claret
#680018
ΔE00 5.34
Wine
#722F37
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1528 #157F6C
analogous
#7F155D #7F1528 #7F3715
triadic
#7F1528 #287F15 #15287F
tetradic
#7F1528 #5D7F15 #157F6C #37157F
square
#7F1528 #5D7F15 #157F6C #37157F
split-complementary
#7F1528 #157F37 #155D7F
monochromatic
#1A0408 #4A0C17 #7F1528 #B41E39 #DD3150
Accessibility & contrast
On white
10.29
#7F1528 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1528 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1528
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1528 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1528 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#504825
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1528; /* rgb */ color: rgb(127, 21, 40); /* oklch */ color: oklch(39.1% 0.139 17.6);
Tailwind
colors: {
custom: {
50: '#ab5f61',
500: '#7f1528',
950: '#000000',
},
}SCSS
$custom: #7f1528; $custom-light: #ab5f61; $custom-dark: #000000;
JSON
{
"hex": "#7f1528",
"rgb": {
"r": 127,
"g": 21,
"b": 40
},
"hsl": {
"h": 349.245,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39078,
"c": 0.13912,
"h": 17.6
},
"luminance": 0.05202
}Semantic roles & 50–950 ramp
primary
#7F1528
secondary
#3CB49E
accent
#EECE39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979