#7A1F12#7A1F12
#7A1F12 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.128 H 31.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F12 |
|---|---|
| RGB | rgb(122, 31, 18) |
| HSL | hsl(8, 74%, 27%) |
| HSV | hsv(8, 85%, 48%) |
| CMYK | cmyk(0%, 74.6%, 85.2%, 52.2%) |
| CIE-LAB | lab(27.19, 38.52, 31.05) |
| CIE-LCH | lch(27.19, 49.47, 38.87°) |
| OKLab | oklab(38.71% 0.109 0.0662) |
| OKLCH | oklch(38.71% 0.128 31.3) |
| XYZ | xyz(8.6262, 5.1626, 1.1144) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.30
Reddy Brown
#6E1005
ΔE00 3.34
Maroon
#800000
ΔE00 3.61
Blood
#770001
ΔE00 3.72
Dark Red
#840000
ΔE00 3.84
Darkred
#8B0000
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F12 #126D7A
analogous
#7A1239 #7A1F12 #7A5312
triadic
#7A1F12 #127A1F #1F127A
tetradic
#7A1F12 #397A12 #126D7A #53127A
square
#7A1F12 #397A12 #126D7A #53127A
split-complementary
#7A1F12 #127A53 #12397A
monochromatic
#1B0704 #45110A #7A1F12 #AF2D1A #DF3E27
Accessibility & contrast
On white
10.33
#7A1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7A1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F12
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F12 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#87001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7a1f12; /* rgb */ color: rgb(122, 31, 18); /* oklch */ color: oklch(38.7% 0.128 31.3);
Tailwind
colors: {
custom: {
50: '#a86251',
500: '#7a1f12',
950: '#000000',
},
}SCSS
$custom: #7a1f12; $custom-light: #a86251; $custom-dark: #000000;
JSON
{
"hex": "#7a1f12",
"rgb": {
"r": 122,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.5,
"s": 74.286,
"l": 27.451
},
"oklch": {
"l": 0.3871,
"c": 0.12755,
"h": 31.3
},
"luminance": 0.05161
}Semantic roles & 50–950 ramp
primary
#7A1F12
secondary
#38A1B0
accent
#DAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78