#7A1F22#7A1F22
#7A1F22 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.125 H 23.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F22 |
|---|---|
| RGB | rgb(122, 31, 34) |
| HSL | hsl(358, 59%, 30%) |
| HSV | hsv(358, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 72.1%, 52.2%) |
| CIE-LAB | lab(27.39, 39.21, 21.52) |
| CIE-LCH | lch(27.39, 44.73, 28.77°) |
| OKLab | oklab(38.92% 0.1147 0.0499) |
| OKLCH | oklch(38.92% 0.125 23.5) |
| XYZ | xyz(8.8057, 5.2344, 2.0597) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.00
Wine Red
#7B0323
ΔE00 4.79
Claret
#680018
ΔE00 5.85
Rosewood
#65000B
ΔE00 6.12
Crimson (survey)
#8C000F
ΔE00 6.12
Reddy Brown
#6E1005
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F22 #1F7A77
analogous
#7A1F4F #7A1F22 #7A4A1F
triadic
#7A1F22 #227A1F #1F227A
tetradic
#7A1F22 #4F7A1F #1F7A77 #4A1F7A
square
#7A1F22 #4F7A1F #1F7A77 #4A1F7A
split-complementary
#7A1F22 #1F7A4A #1F4F7A
monochromatic
#180607 #491314 #7A1F22 #AB2B30 #CF4449
Accessibility & contrast
On white
10.26
#7A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7A1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F22
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F22 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393421
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7a1f22; /* rgb */ color: rgb(122, 31, 34); /* oklch */ color: oklch(38.9% 0.125 23.5);
Tailwind
colors: {
custom: {
50: '#a7625d',
500: '#7a1f22',
950: '#000000',
},
}SCSS
$custom: #7a1f22; $custom-light: #a7625d; $custom-dark: #000000;
JSON
{
"hex": "#7a1f22",
"rgb": {
"r": 122,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.022,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.38923,
"c": 0.1251,
"h": 23.5
},
"luminance": 0.05233
}Semantic roles & 50–950 ramp
primary
#7A1F22
secondary
#47ADAA
accent
#E3DD45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79