#7C1F12#7C1F12
#7C1F12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.130 H 31.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1F12 |
|---|---|
| RGB | rgb(124, 31, 18) |
| HSL | hsl(7, 75%, 28%) |
| HSV | hsv(7, 85%, 49%) |
| CMYK | cmyk(0%, 75%, 85.5%, 51.4%) |
| CIE-LAB | lab(27.60, 39.22, 31.58) |
| CIE-LCH | lch(27.60, 50.35, 38.84°) |
| OKLab | oklab(39.09% 0.111 0.0672) |
| OKLCH | oklch(39.09% 0.13 31.2) |
| XYZ | xyz(8.9124, 5.3101, 1.1278) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.02
Maroon
#800000
ΔE00 3.48
Reddy Brown
#6E1005
ΔE00 3.63
Dark Red
#840000
ΔE00 3.63
Blood
#770001
ΔE00 3.79
Darkred
#8B0000
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1F12 #126F7C
analogous
#7C123A #7C1F12 #7C5412
triadic
#7C1F12 #127C1F #1F127C
tetradic
#7C1F12 #3A7C12 #126F7C #54127C
square
#7C1F12 #3A7C12 #126F7C #54127C
split-complementary
#7C1F12 #127C54 #123A7C
monochromatic
#1B0704 #47120A #7C1F12 #B12C1A #E03F29
Accessibility & contrast
On white
10.19
#7C1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7C1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1F12
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1F12 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#52490D
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7c1f12; /* rgb */ color: rgb(124, 31, 18); /* oklch */ color: oklch(39.1% 0.130 31.2);
Tailwind
colors: {
custom: {
50: '#aa6251',
500: '#7c1f12',
950: '#000000',
},
}SCSS
$custom: #7c1f12; $custom-light: #aa6251; $custom-dark: #000000;
JSON
{
"hex": "#7c1f12",
"rgb": {
"r": 124,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.358,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.39089,
"c": 0.12973,
"h": 31.2
},
"luminance": 0.05309
}Semantic roles & 50–950 ramp
primary
#7C1F12
secondary
#38A3B2
accent
#DAF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78