#7F1829#7F1829
#7F1829 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 17.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1829 |
|---|---|
| RGB | rgb(127, 24, 41) |
| HSL | hsl(350, 68%, 30%) |
| HSV | hsv(350, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 67.7%, 50.2%) |
| CIE-LAB | lab(27.65, 43.75, 17.47) |
| CIE-LCH | lch(27.65, 47.11, 21.76°) |
| OKLab | oklab(39.34% 0.1301 0.0416) |
| OKLCH | oklch(39.34% 0.137 17.7) |
| XYZ | xyz(9.4803, 5.3268, 2.6264) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.31
Burgundy
#800020
ΔE00 2.51
Bordeaux
#7B002C
ΔE00 4.52
Red Wine
#8C0034
ΔE00 4.98
Claret
#680018
ΔE00 5.55
Wine
#722F37
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1829 #187F6E
analogous
#7F185D #7F1829 #7F3B18
triadic
#7F1829 #297F18 #18297F
tetradic
#7F1829 #5D7F18 #187F6E #3B187F
square
#7F1829 #5D7F18 #187F6E #3B187F
split-complementary
#7F1829 #187F3B #185D7F
monochromatic
#1A0508 #4C0E18 #7F1829 #B2223A #D93853
Accessibility & contrast
On white
10.17
#7F1829 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1829 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1829
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1829 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1829 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1829; /* rgb */ color: rgb(127, 24, 41); /* oklch */ color: oklch(39.3% 0.137 17.7);
Tailwind
colors: {
custom: {
50: '#ab6062',
500: '#7f1829',
950: '#000000',
},
}SCSS
$custom: #7f1829; $custom-light: #ab6062; $custom-dark: #000000;
JSON
{
"hex": "#7f1829",
"rgb": {
"r": 127,
"g": 24,
"b": 41
},
"hsl": {
"h": 350.097,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39337,
"c": 0.13661,
"h": 17.7
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#7F1829
secondary
#3FB3A0
accent
#EBCE3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979