#7F1819#7F1819
#7F1819 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 26.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1819 |
|---|---|
| RGB | rgb(127, 24, 25) |
| HSL | hsl(359, 68%, 30%) |
| HSV | hsv(359, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 80.3%, 50.2%) |
| CIE-LAB | lab(27.40, 42.97, 27.50) |
| CIE-LCH | lch(27.40, 51.01, 32.62°) |
| OKLab | oklab(39.07% 0.1239 0.0604) |
| OKLCH | oklch(39.07% 0.138 26) |
| XYZ | xyz(9.2556, 5.2370, 1.4430) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.46
Blood
#770001
ΔE00 4.45
Maroon
#800000
ΔE00 4.72
Reddy Brown
#6E1005
ΔE00 4.97
Dark Red
#840000
ΔE00 4.97
Indian Red
#850E04
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1819 #187F7E
analogous
#7F184D #7F1819 #7F4A18
triadic
#7F1819 #197F18 #18197F
tetradic
#7F1819 #4D7F18 #187F7E #4A187F
square
#7F1819 #4D7F18 #187F7E #4A187F
split-complementary
#7F1819 #187F4A #184D7F
monochromatic
#1A0505 #4C0E0F #7F1819 #B22223 #D9383A
Accessibility & contrast
On white
10.26
#7F1819 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1819 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1819
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1819 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1819 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1819; /* rgb */ color: rgb(127, 24, 25); /* oklch */ color: oklch(39.1% 0.138 26.0);
Tailwind
colors: {
custom: {
50: '#ac5f56',
500: '#7f1819',
950: '#000000',
},
}SCSS
$custom: #7f1819; $custom-light: #ac5f56; $custom-dark: #000000;
JSON
{
"hex": "#7f1819",
"rgb": {
"r": 127,
"g": 24,
"b": 25
},
"hsl": {
"h": 359.417,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39074,
"c": 0.13782,
"h": 26
},
"luminance": 0.05235
}Semantic roles & 50–950 ramp
primary
#7F1819
secondary
#3FB3B2
accent
#EBE93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978