#7C1F2A#7C1F2A
#7C1F2A is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.127 H 18.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1F2A |
|---|---|
| RGB | rgb(124, 31, 42) |
| HSL | hsl(353, 60%, 30%) |
| HSV | hsv(353, 75%, 49%) |
| CMYK | cmyk(0%, 75%, 66.1%, 51.4%) |
| CIE-LAB | lab(27.94, 40.37, 17.05) |
| CIE-LCH | lch(27.94, 43.82, 22.90°) |
| OKLab | oklab(39.45% 0.1199 0.0409) |
| OKLCH | oklch(39.45% 0.127 18.8) |
| XYZ | xyz(9.2210, 5.4336, 2.7533) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.24
Burgundy
#800020
ΔE00 3.38
Wine
#722F37
ΔE00 5.01
Bordeaux
#7B002C
ΔE00 5.32
Claret
#680018
ΔE00 5.73
Red Wine
#8C0034
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1F2A #1F7C71
analogous
#7C1F58 #7C1F2A #7C421F
triadic
#7C1F2A #2A7C1F #1F2A7C
tetradic
#7C1F2A #587C1F #1F7C71 #421F7C
square
#7C1F2A #587C1F #1F7C71 #421F7C
split-complementary
#7C1F2A #1F7C42 #1F587C
monochromatic
#1A0709 #4B1319 #7C1F2A #AD2B3B #D04555
Accessibility & contrast
On white
10.07
#7C1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7C1F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1F2A
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1F2A | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39352A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#880124
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7c1f2a; /* rgb */ color: rgb(124, 31, 42); /* oklch */ color: oklch(39.4% 0.127 18.8);
Tailwind
colors: {
custom: {
50: '#a86263',
500: '#7c1f2a',
950: '#000000',
},
}SCSS
$custom: #7c1f2a; $custom-light: #a86263; $custom-dark: #000000;
JSON
{
"hex": "#7c1f2a",
"rgb": {
"r": 124,
"g": 31,
"b": 42
},
"hsl": {
"h": 352.903,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.39447,
"c": 0.12672,
"h": 18.8
},
"luminance": 0.05432
}Semantic roles & 50–950 ramp
primary
#7C1F2A
secondary
#48AFA3
accent
#E3D045
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79