#7F1525#7F1525
#7F1525 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 19.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1525 |
|---|---|
| RGB | rgb(127, 21, 37) |
| HSL | hsl(351, 72%, 29%) |
| HSV | hsv(351, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 70.9%, 50.2%) |
| CIE-LAB | lab(27.25, 44.43, 19.62) |
| CIE-LCH | lch(27.25, 48.57, 23.83°) |
| OKLab | oklab(39.02% 0.1314 0.0459) |
| OKLCH | oklch(39.02% 0.139 19.3) |
| XYZ | xyz(9.3556, 5.1834, 2.2578) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.79
Wine Red
#7B0323
ΔE00 2.38
Claret
#680018
ΔE00 5.22
Bordeaux
#7B002C
ΔE00 5.36
Red Wine
#8C0034
ΔE00 5.89
Wine
#722F37
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1525 #157F6F
analogous
#7F155A #7F1525 #7F3A15
triadic
#7F1525 #257F15 #15257F
tetradic
#7F1525 #5A7F15 #157F6F #3A157F
square
#7F1525 #5A7F15 #157F6F #3A157F
split-complementary
#7F1525 #157F3A #155A7F
monochromatic
#1A0408 #4A0C16 #7F1525 #B41E34 #DD314B
Accessibility & contrast
On white
10.31
#7F1525 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1525 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1525
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1525 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1525 | 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)
#363225
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1525; /* rgb */ color: rgb(127, 21, 37); /* oklch */ color: oklch(39.0% 0.139 19.3);
Tailwind
colors: {
custom: {
50: '#ab5f5f',
500: '#7f1525',
950: '#000000',
},
}SCSS
$custom: #7f1525; $custom-light: #ab5f5f; $custom-dark: #000000;
JSON
{
"hex": "#7f1525",
"rgb": {
"r": 127,
"g": 21,
"b": 37
},
"hsl": {
"h": 350.943,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.3902,
"c": 0.13918,
"h": 19.3
},
"luminance": 0.05182
}Semantic roles & 50–950 ramp
primary
#7F1525
secondary
#3CB4A2
accent
#EED339
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979