#7F1F2B#7F1F2B
#7F1F2B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 18.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F2B |
|---|---|
| RGB | rgb(127, 31, 43) |
| HSL | hsl(353, 61%, 31%) |
| HSV | hsv(353, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 66.1%, 50.2%) |
| CIE-LAB | lab(28.56, 41.43, 17.31) |
| CIE-LCH | lch(28.56, 44.90, 22.67°) |
| OKLab | oklab(40.03% 0.1231 0.0415) |
| OKLCH | oklch(40.03% 0.13 18.6) |
| XYZ | xyz(9.6794, 5.6678, 2.8694) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.35
Burgundy
#800020
ΔE00 3.35
Wine
#722F37
ΔE00 5.24
Bordeaux
#7B002C
ΔE00 5.35
Red Wine
#8C0034
ΔE00 5.59
Claret
#680018
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F2B #1F7F73
analogous
#7F1F5B #7F1F2B #7F431F
triadic
#7F1F2B #2B7F1F #1F2B7F
tetradic
#7F1F2B #5B7F1F #1F7F73 #431F7F
square
#7F1F2B #5B7F1F #1F7F73 #431F7F
split-complementary
#7F1F2B #1F7F43 #1F5B7F
monochromatic
#1D070A #4E131A #7F1F2B #B02B3C #D24658
Accessibility & contrast
On white
9.84
#7F1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F2B
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F2B | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A362B
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f2b; /* rgb */ color: rgb(127, 31, 43); /* oklch */ color: oklch(40.0% 0.130 18.6);
Tailwind
colors: {
custom: {
50: '#aa6364',
500: '#7f1f2b',
950: '#000000',
},
}SCSS
$custom: #7f1f2b; $custom-light: #aa6364; $custom-dark: #000000;
JSON
{
"hex": "#7f1f2b",
"rgb": {
"r": 127,
"g": 31,
"b": 43
},
"hsl": {
"h": 352.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40026,
"c": 0.12993,
"h": 18.6
},
"luminance": 0.05666
}Semantic roles & 50–950 ramp
primary
#7F1F2B
secondary
#48B2A5
accent
#E4D044
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79