#7C1F28#7C1F28
#7C1F28 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.127 H 20.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1F28 |
|---|---|
| RGB | rgb(124, 31, 40) |
| HSL | hsl(354, 60%, 30%) |
| HSV | hsv(354, 75%, 49%) |
| CMYK | cmyk(0%, 75%, 67.7%, 51.4%) |
| CIE-LAB | lab(27.90, 40.24, 18.32) |
| CIE-LCH | lch(27.90, 44.21, 24.48°) |
| OKLab | oklab(39.41% 0.1191 0.0435) |
| OKLCH | oklch(39.41% 0.127 20.1) |
| XYZ | xyz(9.1861, 5.4196, 2.5695) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.28
Wine Red
#7B0323
ΔE00 3.48
Wine
#722F37
ΔE00 5.46
Claret
#680018
ΔE00 5.69
Bordeaux
#7B002C
ΔE00 5.95
Red Wine
#8C0034
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1F28 #1F7C73
analogous
#7C1F56 #7C1F28 #7C451F
triadic
#7C1F28 #287C1F #1F287C
tetradic
#7C1F28 #567C1F #1F7C73 #451F7C
square
#7C1F28 #567C1F #1F7C73 #451F7C
split-complementary
#7C1F28 #1F7C45 #1F567C
monochromatic
#1A0708 #4B1318 #7C1F28 #AD2B38 #D04552
Accessibility & contrast
On white
10.08
#7C1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7C1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1F28
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1F28 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7c1f28; /* rgb */ color: rgb(124, 31, 40); /* oklch */ color: oklch(39.4% 0.127 20.1);
Tailwind
colors: {
custom: {
50: '#a86261',
500: '#7c1f28',
950: '#000000',
},
}SCSS
$custom: #7c1f28; $custom-light: #a86261; $custom-dark: #000000;
JSON
{
"hex": "#7c1f28",
"rgb": {
"r": 124,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.194,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.39406,
"c": 0.1268,
"h": 20.1
},
"luminance": 0.05418
}Semantic roles & 50–950 ramp
primary
#7C1F28
secondary
#48AFA5
accent
#E3D445
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79