#7F1520#7F1520
#7F1520 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 21.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1520 |
|---|---|
| RGB | rgb(127, 21, 32) |
| HSL | hsl(354, 72%, 29%) |
| HSV | hsv(354, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 74.8%, 50.2%) |
| CIE-LAB | lab(27.17, 44.18, 22.81) |
| CIE-LCH | lch(27.17, 49.72, 27.30°) |
| OKLab | oklab(38.93% 0.1294 0.052) |
| OKLCH | oklch(38.93% 0.139 21.9) |
| XYZ | xyz(9.2824, 5.1541, 1.8723) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.50
Wine Red
#7B0323
ΔE00 3.78
Claret
#680018
ΔE00 5.55
Crimson (survey)
#8C000F
ΔE00 5.55
Rosewood
#65000B
ΔE00 6.14
Blood
#770001
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1520 #157F74
analogous
#7F1555 #7F1520 #7F3F15
triadic
#7F1520 #207F15 #15207F
tetradic
#7F1520 #557F15 #157F74 #3F157F
square
#7F1520 #557F15 #157F74 #3F157F
split-complementary
#7F1520 #157F3F #15557F
monochromatic
#1A0407 #4A0C13 #7F1520 #B41E2D #DD3143
Accessibility & contrast
On white
10.34
#7F1520 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1520 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1520
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1520 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36321F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1520; /* rgb */ color: rgb(127, 21, 32); /* oklch */ color: oklch(38.9% 0.139 21.9);
Tailwind
colors: {
custom: {
50: '#ac5f5b',
500: '#7f1520',
950: '#000000',
},
}SCSS
$custom: #7f1520; $custom-light: #ac5f5b; $custom-dark: #000000;
JSON
{
"hex": "#7f1520",
"rgb": {
"r": 127,
"g": 21,
"b": 32
},
"hsl": {
"h": 353.774,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38934,
"c": 0.13945,
"h": 21.9
},
"luminance": 0.05153
}Semantic roles & 50–950 ramp
primary
#7F1520
secondary
#3CB4A8
accent
#EEDC39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979