#7D1827#7D1827
#7D1827 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.135 H 18.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1827 |
|---|---|
| RGB | rgb(125, 24, 39) |
| HSL | hsl(351, 68%, 29%) |
| HSV | hsv(351, 81%, 49%) |
| CMYK | cmyk(0%, 80.8%, 68.8%, 51%) |
| CIE-LAB | lab(27.19, 43.01, 18.13) |
| CIE-LCH | lch(27.19, 46.67, 22.86°) |
| OKLab | oklab(38.91% 0.1276 0.0429) |
| OKLCH | oklch(38.91% 0.135 18.6) |
| XYZ | xyz(9.1513, 5.1611, 2.4334) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.28
Burgundy
#800020
ΔE00 2.31
Bordeaux
#7B002C
ΔE00 4.90
Claret
#680018
ΔE00 5.13
Red Wine
#8C0034
ΔE00 5.60
Wine
#722F37
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1827 #187D6E
analogous
#7D185A #7D1827 #7D3C18
triadic
#7D1827 #277D18 #18277D
tetradic
#7D1827 #5A7D18 #187D6E #3C187D
square
#7D1827 #5A7D18 #187D6E #3C187D
split-complementary
#7D1827 #187D3C #185A7D
monochromatic
#1A0508 #4A0E17 #7D1827 #B02237 #D9374F
Accessibility & contrast
On white
10.33
#7D1827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7D1827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1827
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1827 | 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)
#363327
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7d1827; /* rgb */ color: rgb(125, 24, 39); /* oklch */ color: oklch(38.9% 0.135 18.6);
Tailwind
colors: {
custom: {
50: '#aa5f60',
500: '#7d1827',
950: '#000000',
},
}SCSS
$custom: #7d1827; $custom-light: #aa5f60; $custom-dark: #000000;
JSON
{
"hex": "#7d1827",
"rgb": {
"r": 125,
"g": 24,
"b": 39
},
"hsl": {
"h": 351.089,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.38911,
"c": 0.13461,
"h": 18.6
},
"luminance": 0.0516
}Semantic roles & 50–950 ramp
primary
#7D1827
secondary
#3FB2A1
accent
#EBD13D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979