#7F1311#7F1311
#7F1311 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 27.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1311 |
|---|---|
| RGB | rgb(127, 19, 17) |
| HSL | hsl(1, 76%, 28%) |
| HSV | hsv(1, 87%, 50%) |
| CMYK | cmyk(0%, 85%, 86.6%, 50.2%) |
| CIE-LAB | lab(26.79, 44.19, 31.61) |
| CIE-LCH | lch(26.79, 54.33, 35.58°) |
| OKLab | oklab(38.6% 0.126 0.0665) |
| OKLCH | oklch(38.6% 0.142 27.8) |
| XYZ | xyz(9.0876, 5.0197, 1.0206) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.65
Maroon
#800000
ΔE00 2.75
Blood
#770001
ΔE00 2.83
Dark Red
#840000
ΔE00 3.03
Indian Red
#850E04
ΔE00 3.08
Reddy Brown
#6E1005
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1311 #117D7F
analogous
#7F1146 #7F1311 #7F4A11
triadic
#7F1311 #117F13 #13117F
tetradic
#7F1311 #467F11 #117D7F #4A117F
square
#7F1311 #467F11 #117D7F #4A117F
split-complementary
#7F1311 #117F4A #11467F
monochromatic
#1B0404 #490B0A #7F1311 #B51B18 #E22C28
Accessibility & contrast
On white
10.48
#7F1311 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7F1311 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1311
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1311 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1311 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#51480B
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1311; /* rgb */ color: rgb(127, 19, 17); /* oklch */ color: oklch(38.6% 0.142 27.8);
Tailwind
colors: {
custom: {
50: '#ad5e50',
500: '#7f1311',
950: '#000000',
},
}SCSS
$custom: #7f1311; $custom-light: #ad5e50; $custom-dark: #000000;
JSON
{
"hex": "#7f1311",
"rgb": {
"r": 127,
"g": 19,
"b": 17
},
"hsl": {
"h": 1.091,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.38596,
"c": 0.14243,
"h": 27.8
},
"luminance": 0.05018
}Semantic roles & 50–950 ramp
primary
#7F1311
secondary
#37B3B5
accent
#EFF335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978