#7A1F2E#7A1F2E
#7A1F2E is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.125 H 15.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F2E |
|---|---|
| RGB | rgb(122, 31, 46) |
| HSL | hsl(350, 59%, 30%) |
| HSV | hsv(350, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 62.3%, 52.2%) |
| CIE-LAB | lab(27.62, 39.98, 13.90) |
| CIE-LCH | lch(27.62, 42.32, 19.17°) |
| OKLab | oklab(39.16% 0.1198 0.034) |
| OKLCH | oklch(39.16% 0.125 15.9) |
| XYZ | xyz(9.0101, 5.3161, 3.1359) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.38
Bordeaux
#7B002C
ΔE00 4.05
Wine
#722F37
ΔE00 4.13
Burgundy
#800020
ΔE00 4.32
Red Wine
#8C0034
ΔE00 4.91
Claret
#680018
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F2E #1F7A6B
analogous
#7A1F5B #7A1F2E #7A3E1F
triadic
#7A1F2E #2E7A1F #1F2E7A
tetradic
#7A1F2E #5B7A1F #1F7A6B #3E1F7A
square
#7A1F2E #5B7A1F #1F7A6B #3E1F7A
split-complementary
#7A1F2E #1F7A3E #1F5B7A
monochromatic
#180609 #49131C #7A1F2E #AB2B40 #CF445B
Accessibility & contrast
On white
10.18
#7A1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7A1F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F2E
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F2E | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#860525
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7a1f2e; /* rgb */ color: rgb(122, 31, 46); /* oklch */ color: oklch(39.2% 0.125 15.9);
Tailwind
colors: {
custom: {
50: '#a66266',
500: '#7a1f2e',
950: '#000000',
},
}SCSS
$custom: #7a1f2e; $custom-light: #a66266; $custom-dark: #000000;
JSON
{
"hex": "#7a1f2e",
"rgb": {
"r": 122,
"g": 31,
"b": 46
},
"hsl": {
"h": 350.11,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.39163,
"c": 0.12451,
"h": 15.9
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#7A1F2E
secondary
#47AD9D
accent
#E3C945
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A