#7F1F2A#7F1F2A
#7F1F2A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 19.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F2A |
|---|---|
| RGB | rgb(127, 31, 42) |
| HSL | hsl(353, 61%, 31%) |
| HSV | hsv(353, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 66.9%, 50.2%) |
| CIE-LAB | lab(28.54, 41.37, 17.94) |
| CIE-LCH | lch(28.54, 45.09, 23.45°) |
| OKLab | oklab(40.01% 0.1227 0.0428) |
| OKLCH | oklch(40.01% 0.13 19.2) |
| XYZ | xyz(9.6613, 5.6606, 2.7739) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.26
Wine Red
#7B0323
ΔE00 3.43
Wine
#722F37
ΔE00 5.44
Bordeaux
#7B002C
ΔE00 5.66
Red Wine
#8C0034
ΔE00 5.91
Claret
#680018
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F2A #1F7F74
analogous
#7F1F5A #7F1F2A #7F441F
triadic
#7F1F2A #2A7F1F #1F2A7F
tetradic
#7F1F2A #5A7F1F #1F7F74 #441F7F
square
#7F1F2A #5A7F1F #1F7F74 #441F7F
split-complementary
#7F1F2A #1F7F44 #1F5A7F
monochromatic
#1D0709 #4E131A #7F1F2A #B02B3A #D24656
Accessibility & contrast
On white
9.85
#7F1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F2A
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F2A | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A362A
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f2a; /* rgb */ color: rgb(127, 31, 42); /* oklch */ color: oklch(40.0% 0.130 19.2);
Tailwind
colors: {
custom: {
50: '#ab6363',
500: '#7f1f2a',
950: '#000000',
},
}SCSS
$custom: #7f1f2a; $custom-light: #ab6363; $custom-dark: #000000;
JSON
{
"hex": "#7f1f2a",
"rgb": {
"r": 127,
"g": 31,
"b": 42
},
"hsl": {
"h": 353.125,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40005,
"c": 0.12996,
"h": 19.2
},
"luminance": 0.05659
}Semantic roles & 50–950 ramp
primary
#7F1F2A
secondary
#48B2A6
accent
#E4D244
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79