#7F1D2B#7F1D2B
#7F1D2B is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.132 H 18.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1D2B |
|---|---|
| RGB | rgb(127, 29, 43) |
| HSL | hsl(351, 63%, 31%) |
| HSV | hsv(351, 77%, 50%) |
| CMYK | cmyk(0%, 77.2%, 66.1%, 50.2%) |
| CIE-LAB | lab(28.29, 42.17, 16.96) |
| CIE-LCH | lch(28.29, 45.46, 21.91°) |
| OKLab | oklab(39.83% 0.1255 0.0407) |
| OKLCH | oklch(39.83% 0.132 18) |
| XYZ | xyz(9.6288, 5.5666, 2.8525) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.00
Burgundy
#800020
ΔE00 3.16
Bordeaux
#7B002C
ΔE00 4.90
Red Wine
#8C0034
ΔE00 5.20
Wine
#722F37
ΔE00 5.31
Claret
#680018
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1D2B #1D7F71
analogous
#7F1D5C #7F1D2B #7F401D
triadic
#7F1D2B #2B7F1D #1D2B7F
tetradic
#7F1D2B #5C7F1D #1D7F71 #401D7F
square
#7F1D2B #5C7F1D #1D7F71 #401D7F
split-complementary
#7F1D2B #1D7F40 #1D5C7F
monochromatic
#1B0609 #4D121A #7F1D2B #B1283C #D44257
Accessibility & contrast
On white
9.94
#7F1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1D2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1D2B
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1D2B | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1d2b; /* rgb */ color: rgb(127, 29, 43); /* oklch */ color: oklch(39.8% 0.132 18.0);
Tailwind
colors: {
custom: {
50: '#ab6264',
500: '#7f1d2b',
950: '#000000',
},
}SCSS
$custom: #7f1d2b; $custom-light: #ab6264; $custom-dark: #000000;
JSON
{
"hex": "#7f1d2b",
"rgb": {
"r": 127,
"g": 29,
"b": 43
},
"hsl": {
"h": 351.429,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.39827,
"c": 0.13193,
"h": 18
},
"luminance": 0.05565
}Semantic roles & 50–950 ramp
primary
#7F1D2B
secondary
#45B2A3
accent
#E6CE42
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79