#7C1828#7C1828
#7C1828 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.134 H 17.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1828 |
|---|---|
| RGB | rgb(124, 24, 40) |
| HSL | hsl(350, 68%, 29%) |
| HSV | hsv(350, 81%, 49%) |
| CMYK | cmyk(0%, 80.6%, 67.7%, 51.4%) |
| CIE-LAB | lab(27.00, 42.75, 17.18) |
| CIE-LCH | lch(27.00, 46.07, 21.89°) |
| OKLab | oklab(38.74% 0.1271 0.0409) |
| OKLCH | oklch(38.74% 0.134 17.8) |
| XYZ | xyz(9.0228, 5.0929, 2.5150) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.12
Burgundy
#800020
ΔE00 2.55
Bordeaux
#7B002C
ΔE00 4.43
Claret
#680018
ΔE00 5.05
Red Wine
#8C0034
ΔE00 5.28
Wine
#722F37
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1828 #187C6C
analogous
#7C185A #7C1828 #7C3A18
triadic
#7C1828 #287C18 #18287C
tetradic
#7C1828 #5A7C18 #187C6C #3A187C
square
#7C1828 #5A7C18 #187C6C #3A187C
split-complementary
#7C1828 #187C3A #185A7C
monochromatic
#1A0508 #490E17 #7C1828 #AF2239 #D83650
Accessibility & contrast
On white
10.40
#7C1828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7C1828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1828
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1828 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#89001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7c1828; /* rgb */ color: rgb(124, 24, 40); /* oklch */ color: oklch(38.7% 0.134 17.8);
Tailwind
colors: {
custom: {
50: '#a95f61',
500: '#7c1828',
950: '#000000',
},
}SCSS
$custom: #7c1828; $custom-light: #a95f61; $custom-dark: #000000;
JSON
{
"hex": "#7c1828",
"rgb": {
"r": 124,
"g": 24,
"b": 40
},
"hsl": {
"h": 350.4,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.38738,
"c": 0.13357,
"h": 17.8
},
"luminance": 0.05092
}Semantic roles & 50–950 ramp
primary
#7C1828
secondary
#3FB19E
accent
#EACF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979