#7F161A#7F161A
#7F161A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 25.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F161A |
|---|---|
| RGB | rgb(127, 22, 26) |
| HSL | hsl(358, 70%, 29%) |
| HSV | hsv(358, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 79.5%, 50.2%) |
| CIE-LAB | lab(27.19, 43.63, 26.66) |
| CIE-LCH | lch(27.19, 51.13, 31.42°) |
| OKLab | oklab(38.92% 0.1262 0.0589) |
| OKLCH | oklch(38.92% 0.139 25) |
| XYZ | xyz(9.2269, 5.1619, 1.4876) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.74
Burgundy
#800020
ΔE00 4.49
Blood
#770001
ΔE00 4.81
Maroon
#800000
ΔE00 5.20
Reddy Brown
#6E1005
ΔE00 5.37
Dark Red
#840000
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F161A #167F7B
analogous
#7F164F #7F161A #7F4716
triadic
#7F161A #1A7F16 #161A7F
tetradic
#7F161A #4F7F16 #167F7B #47167F
square
#7F161A #4F7F16 #167F7B #47167F
split-complementary
#7F161A #167F47 #164F7F
monochromatic
#1A0505 #4B0D0F #7F161A #B31F25 #DC343A
Accessibility & contrast
On white
10.33
#7F161A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F161A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F161A
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F161A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F161A | 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)
#373219
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f161a; /* rgb */ color: rgb(127, 22, 26); /* oklch */ color: oklch(38.9% 0.139 25.0);
Tailwind
colors: {
custom: {
50: '#ac5f57',
500: '#7f161a',
950: '#000000',
},
}SCSS
$custom: #7f161a; $custom-light: #ac5f57; $custom-dark: #000000;
JSON
{
"hex": "#7f161a",
"rgb": {
"r": 127,
"g": 22,
"b": 26
},
"hsl": {
"h": 357.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.38924,
"c": 0.13925,
"h": 25
},
"luminance": 0.0516
}Semantic roles & 50–950 ramp
primary
#7F161A
secondary
#3DB4AF
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978