#7F1812#7F1812
#7F1812 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 28.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1812 |
|---|---|
| RGB | rgb(127, 24, 18) |
| HSL | hsl(3, 75%, 28%) |
| HSV | hsv(3, 86%, 50%) |
| CMYK | cmyk(0%, 81.1%, 85.8%, 50.2%) |
| CIE-LAB | lab(27.33, 42.73, 31.54) |
| CIE-LCH | lch(27.33, 53.11, 36.43°) |
| OKLab | oklab(39% 0.1216 0.0667) |
| OKLCH | oklch(39% 0.139 28.8) |
| XYZ | xyz(9.1893, 5.2105, 1.0940) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.88
Maroon
#800000
ΔE00 2.90
Crimson (survey)
#8C000F
ΔE00 2.99
Dark Red
#840000
ΔE00 3.09
Blood
#770001
ΔE00 3.17
Reddy Brown
#6E1005
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1812 #12797F
analogous
#7F1242 #7F1812 #7F4E12
triadic
#7F1812 #127F18 #18127F
tetradic
#7F1812 #427F12 #12797F #4E127F
square
#7F1812 #427F12 #12797F #4E127F
split-complementary
#7F1812 #127F4E #12427F
monochromatic
#1B0504 #490E0A #7F1812 #B5221A #E1352B
Accessibility & contrast
On white
10.29
#7F1812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1812
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1812 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#52490C
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1812; /* rgb */ color: rgb(127, 24, 18); /* oklch */ color: oklch(39.0% 0.139 28.8);
Tailwind
colors: {
custom: {
50: '#ad5f51',
500: '#7f1812',
950: '#000000',
},
}SCSS
$custom: #7f1812; $custom-light: #ad5f51; $custom-dark: #000000;
JSON
{
"hex": "#7f1812",
"rgb": {
"r": 127,
"g": 24,
"b": 18
},
"hsl": {
"h": 3.303,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38997,
"c": 0.13873,
"h": 28.8
},
"luminance": 0.05209
}Semantic roles & 50–950 ramp
primary
#7F1812
secondary
#38AEB5
accent
#E7F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978