#7F1D2F#7F1D2F
#7F1D2F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.132 H 15.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1D2F |
|---|---|
| RGB | rgb(127, 29, 47) |
| HSL | hsl(349, 63%, 31%) |
| HSV | hsv(349, 77%, 50%) |
| CMYK | cmyk(0%, 77.2%, 63%, 50.2%) |
| CIE-LAB | lab(28.37, 42.44, 14.41) |
| CIE-LCH | lch(28.37, 44.82, 18.76°) |
| OKLab | oklab(39.91% 0.1272 0.0352) |
| OKLCH | oklch(39.91% 0.132 15.5) |
| XYZ | xyz(9.7058, 5.5974, 3.2581) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.27
Bordeaux
#7B002C
ΔE00 3.86
Burgundy
#800020
ΔE00 4.05
Red Wine
#8C0034
ΔE00 4.08
Wine
#722F37
ΔE00 4.82
Cranberry
#9E003A
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1D2F #1D7F6D
analogous
#7F1D60 #7F1D2F #7F3C1D
triadic
#7F1D2F #2F7F1D #1D2F7F
tetradic
#7F1D2F #607F1D #1D7F6D #3C1D7F
square
#7F1D2F #607F1D #1D7F6D #3C1D7F
split-complementary
#7F1D2F #1D7F3C #1D607F
monochromatic
#1B060A #4D121D #7F1D2F #B12841 #D4425D
Accessibility & contrast
On white
9.91
#7F1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1D2F
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1D2F | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1d2f; /* rgb */ color: rgb(127, 29, 47); /* oklch */ color: oklch(39.9% 0.132 15.5);
Tailwind
colors: {
custom: {
50: '#aa6267',
500: '#7f1d2f',
950: '#000000',
},
}SCSS
$custom: #7f1d2f; $custom-light: #aa6267; $custom-dark: #000000;
JSON
{
"hex": "#7f1d2f",
"rgb": {
"r": 127,
"g": 29,
"b": 47
},
"hsl": {
"h": 348.98,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.39914,
"c": 0.13197,
"h": 15.5
},
"luminance": 0.05596
}Semantic roles & 50–950 ramp
primary
#7F1D2F
secondary
#45B29E
accent
#E6C842
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A