#7F1318#7F1318
#7F1318 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 25.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1318 |
|---|---|
| RGB | rgb(127, 19, 24) |
| HSL | hsl(357, 74%, 29%) |
| HSV | hsv(357, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 81.1%, 50.2%) |
| CIE-LAB | lab(26.86, 44.41, 27.54) |
| CIE-LCH | lch(26.86, 52.26, 31.81°) |
| OKLab | oklab(38.67% 0.1282 0.0602) |
| OKLCH | oklch(38.67% 0.142 25.2) |
| XYZ | xyz(9.1513, 5.0452, 1.3560) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.43
Blood
#770001
ΔE00 4.40
Burgundy
#800020
ΔE00 4.65
Maroon
#800000
ΔE00 4.80
Reddy Brown
#6E1005
ΔE00 5.09
Dark Red
#840000
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1318 #137F7A
analogous
#7F134E #7F1318 #7F4413
triadic
#7F1318 #187F13 #13187F
tetradic
#7F1318 #4E7F13 #137F7A #44137F
square
#7F1318 #4E7F13 #137F7A #44137F
split-complementary
#7F1318 #137F44 #134E7F
monochromatic
#1B0405 #4A0B0E #7F1318 #B41B22 #E02D35
Accessibility & contrast
On white
10.45
#7F1318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7F1318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1318
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1318 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1318; /* rgb */ color: rgb(127, 19, 24); /* oklch */ color: oklch(38.7% 0.142 25.2);
Tailwind
colors: {
custom: {
50: '#ad5e55',
500: '#7f1318',
950: '#000000',
},
}SCSS
$custom: #7f1318; $custom-light: #ad5e55; $custom-dark: #000000;
JSON
{
"hex": "#7f1318",
"rgb": {
"r": 127,
"g": 19,
"b": 24
},
"hsl": {
"h": 357.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.38673,
"c": 0.14164,
"h": 25.2
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#7F1318
secondary
#39B4AF
accent
#F1E837
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978