#7F1712#7F1712
#7F1712 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 28.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1712 |
|---|---|
| RGB | rgb(127, 23, 18) |
| HSL | hsl(3, 75%, 28%) |
| HSV | hsv(3, 86%, 50%) |
| CMYK | cmyk(0%, 81.9%, 85.8%, 50.2%) |
| CIE-LAB | lab(27.21, 43.05, 31.44) |
| CIE-LCH | lch(27.21, 53.31, 36.14°) |
| OKLab | oklab(38.91% 0.1226 0.0665) |
| OKLCH | oklch(38.91% 0.139 28.5) |
| XYZ | xyz(9.1691, 5.1700, 1.0873) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.89
Maroon
#800000
ΔE00 2.90
Indian Red
#850E04
ΔE00 2.97
Blood
#770001
ΔE00 3.11
Dark Red
#840000
ΔE00 3.11
Reddy Brown
#6E1005
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1712 #127A7F
analogous
#7F1243 #7F1712 #7F4D12
triadic
#7F1712 #127F17 #17127F
tetradic
#7F1712 #437F12 #127A7F #4D127F
square
#7F1712 #437F12 #127A7F #4D127F
split-complementary
#7F1712 #127F4D #12437F
monochromatic
#1B0504 #490D0A #7F1712 #B5211A #E1332B
Accessibility & contrast
On white
10.33
#7F1712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1712
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1712 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383210
Deuteranopia (green-blind)
#52480C
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1712; /* rgb */ color: rgb(127, 23, 18); /* oklch */ color: oklch(38.9% 0.139 28.5);
Tailwind
colors: {
custom: {
50: '#ad5f51',
500: '#7f1712',
950: '#000000',
},
}SCSS
$custom: #7f1712; $custom-light: #ad5f51; $custom-dark: #000000;
JSON
{
"hex": "#7f1712",
"rgb": {
"r": 127,
"g": 23,
"b": 18
},
"hsl": {
"h": 2.752,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38913,
"c": 0.13949,
"h": 28.5
},
"luminance": 0.05168
}Semantic roles & 50–950 ramp
primary
#7F1712
secondary
#38AFB5
accent
#E9F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978