#7F1826#7F1826
#7F1826 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 19.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1826 |
|---|---|
| RGB | rgb(127, 24, 38) |
| HSL | hsl(352, 68%, 30%) |
| HSV | hsv(352, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 70.1%, 50.2%) |
| CIE-LAB | lab(27.59, 43.58, 19.39) |
| CIE-LCH | lch(27.59, 47.69, 23.98°) |
| OKLab | oklab(39.28% 0.1289 0.0455) |
| OKLCH | oklch(39.28% 0.137 19.5) |
| XYZ | xyz(9.4299, 5.3067, 2.3611) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.17
Wine Red
#7B0323
ΔE00 2.68
Claret
#680018
ΔE00 5.44
Bordeaux
#7B002C
ΔE00 5.52
Red Wine
#8C0034
ΔE00 5.97
Wine
#722F37
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1826 #187F71
analogous
#7F1859 #7F1826 #7F3E18
triadic
#7F1826 #267F18 #18267F
tetradic
#7F1826 #597F18 #187F71 #3E187F
square
#7F1826 #597F18 #187F71 #3E187F
split-complementary
#7F1826 #187F3E #18597F
monochromatic
#1A0508 #4C0E17 #7F1826 #B22235 #D9384E
Accessibility & contrast
On white
10.19
#7F1826 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1826 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1826
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1826 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373326
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1826; /* rgb */ color: rgb(127, 24, 38); /* oklch */ color: oklch(39.3% 0.137 19.5);
Tailwind
colors: {
custom: {
50: '#ab6060',
500: '#7f1826',
950: '#000000',
},
}SCSS
$custom: #7f1826; $custom-light: #ab6060; $custom-dark: #000000;
JSON
{
"hex": "#7f1826",
"rgb": {
"r": 127,
"g": 24,
"b": 38
},
"hsl": {
"h": 351.845,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39278,
"c": 0.13669,
"h": 19.5
},
"luminance": 0.05305
}Semantic roles & 50–950 ramp
primary
#7F1826
secondary
#3FB3A4
accent
#EBD33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979