#7A1F2F#7A1F2F
#7A1F2F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.125 H 15.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F2F |
|---|---|
| RGB | rgb(122, 31, 47) |
| HSL | hsl(349, 59%, 30%) |
| HSV | hsv(349, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 61.5%, 52.2%) |
| CIE-LAB | lab(27.64, 40.05, 13.26) |
| CIE-LCH | lch(27.64, 42.19, 18.32°) |
| OKLab | oklab(39.19% 0.1202 0.0326) |
| OKLCH | oklch(39.19% 0.125 15.2) |
| XYZ | xyz(9.0300, 5.3241, 3.2409) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.54
Bordeaux
#7B002C
ΔE00 3.83
Wine
#722F37
ΔE00 4.05
Burgundy
#800020
ΔE00 4.58
Red Wine
#8C0034
ΔE00 4.71
Maroon (survey)
#650021
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F2F #1F7A6A
analogous
#7A1F5C #7A1F2F #7A3D1F
triadic
#7A1F2F #2F7A1F #1F2F7A
tetradic
#7A1F2F #5C7A1F #1F7A6A #3D1F7A
square
#7A1F2F #5C7A1F #1F7A6A #3D1F7A
split-complementary
#7A1F2F #1F7A3D #1F5C7A
monochromatic
#180609 #49131C #7A1F2F #AB2B42 #CF445C
Accessibility & contrast
On white
10.17
#7A1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7A1F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F2F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F2F | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#860626
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7a1f2f; /* rgb */ color: rgb(122, 31, 47); /* oklch */ color: oklch(39.2% 0.125 15.2);
Tailwind
colors: {
custom: {
50: '#a66267',
500: '#7a1f2f',
950: '#000000',
},
}SCSS
$custom: #7a1f2f; $custom-light: #a66267; $custom-dark: #000000;
JSON
{
"hex": "#7a1f2f",
"rgb": {
"r": 122,
"g": 31,
"b": 47
},
"hsl": {
"h": 349.451,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.39186,
"c": 0.12454,
"h": 15.2
},
"luminance": 0.05323
}Semantic roles & 50–950 ramp
primary
#7A1F2F
secondary
#47AD9B
accent
#E3C745
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A