#7F1512#7F1512
#7F1512 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 28.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1512 |
|---|---|
| RGB | rgb(127, 21, 18) |
| HSL | hsl(2, 75%, 28%) |
| HSV | hsv(2, 86%, 50%) |
| CMYK | cmyk(0%, 83.5%, 85.8%, 50.2%) |
| CIE-LAB | lab(27.00, 43.65, 31.24) |
| CIE-LCH | lch(27.00, 53.68, 35.59°) |
| OKLab | oklab(38.75% 0.1245 0.0661) |
| OKLCH | oklch(38.75% 0.141 28) |
| XYZ | xyz(9.1309, 5.0935, 1.0745) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.74
Maroon
#800000
ΔE00 2.94
Blood
#770001
ΔE00 3.03
Indian Red
#850E04
ΔE00 3.16
Dark Red
#840000
ΔE00 3.18
Reddy Brown
#6E1005
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1512 #127C7F
analogous
#7F1245 #7F1512 #7F4B12
triadic
#7F1512 #127F15 #15127F
tetradic
#7F1512 #457F12 #127C7F #4B127F
square
#7F1512 #457F12 #127C7F #4B127F
split-complementary
#7F1512 #127F4B #12457F
monochromatic
#1B0404 #490C0A #7F1512 #B51E1A #E1302B
Accessibility & contrast
On white
10.40
#7F1512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F1512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1512
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1512 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383110
Deuteranopia (green-blind)
#51480C
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1512; /* rgb */ color: rgb(127, 21, 18); /* oklch */ color: oklch(38.8% 0.141 28.0);
Tailwind
colors: {
custom: {
50: '#ad5e51',
500: '#7f1512',
950: '#000000',
},
}SCSS
$custom: #7f1512; $custom-light: #ad5e51; $custom-dark: #000000;
JSON
{
"hex": "#7f1512",
"rgb": {
"r": 127,
"g": 21,
"b": 18
},
"hsl": {
"h": 1.651,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38754,
"c": 0.14094,
"h": 28
},
"luminance": 0.05092
}Semantic roles & 50–950 ramp
primary
#7F1512
secondary
#38B1B5
accent
#EDF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978