#7A181F#7A181F
#7A181F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.132 H 22.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A181F |
|---|---|
| RGB | rgb(122, 24, 31) |
| HSL | hsl(356, 67%, 29%) |
| HSV | hsv(356, 80%, 48%) |
| CMYK | cmyk(0%, 80.3%, 74.6%, 52.2%) |
| CIE-LAB | lab(26.42, 41.62, 22.31) |
| CIE-LCH | lch(26.42, 47.23, 28.19°) |
| OKLab | oklab(38.19% 0.1217 0.051) |
| OKLCH | oklch(38.19% 0.132 22.7) |
| XYZ | xyz(8.6010, 4.8911, 1.7873) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.13
Wine Red
#7B0323
ΔE00 4.09
Claret
#680018
ΔE00 5.09
Rosewood
#65000B
ΔE00 5.43
Crimson (survey)
#8C000F
ΔE00 5.83
Blood
#770001
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A181F #187A73
analogous
#7A1850 #7A181F #7A4218
triadic
#7A181F #1F7A18 #181F7A
tetradic
#7A181F #507A18 #187A73 #42187A
square
#7A181F #507A18 #187A73 #42187A
split-complementary
#7A181F #187A42 #18507A
monochromatic
#1A0506 #470E12 #7A181F #AD222C #D73541
Accessibility & contrast
On white
10.62
#7A181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7A181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A181F
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A181F | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#87001C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7a181f; /* rgb */ color: rgb(122, 24, 31); /* oklch */ color: oklch(38.2% 0.132 22.7);
Tailwind
colors: {
custom: {
50: '#a85f5a',
500: '#7a181f',
950: '#000000',
},
}SCSS
$custom: #7a181f; $custom-light: #a85f5a; $custom-dark: #000000;
JSON
{
"hex": "#7a181f",
"rgb": {
"r": 122,
"g": 24,
"b": 31
},
"hsl": {
"h": 355.714,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.38186,
"c": 0.13197,
"h": 22.7
},
"luminance": 0.0489
}Semantic roles & 50–950 ramp
primary
#7A181F
secondary
#3FAFA7
accent
#EADE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979