#7F161E#7F161E
#7F161E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 23.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F161E |
|---|---|
| RGB | rgb(127, 22, 30) |
| HSL | hsl(355, 70%, 29%) |
| HSV | hsv(355, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 76.4%, 50.2%) |
| CIE-LAB | lab(27.24, 43.79, 24.19) |
| CIE-LCH | lch(27.24, 50.03, 28.91°) |
| OKLab | oklab(38.98% 0.1277 0.0546) |
| OKLCH | oklch(38.98% 0.139 23.2) |
| XYZ | xyz(9.2747, 5.1811, 1.7397) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.24
Wine Red
#7B0323
ΔE00 4.60
Crimson (survey)
#8C000F
ΔE00 4.83
Claret
#680018
ΔE00 5.95
Rosewood
#65000B
ΔE00 5.96
Blood
#770001
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F161E #167F77
analogous
#7F1653 #7F161E #7F4316
triadic
#7F161E #1E7F16 #161E7F
tetradic
#7F161E #537F16 #167F77 #43167F
square
#7F161E #537F16 #167F77 #43167F
split-complementary
#7F161E #167F43 #16537F
monochromatic
#1A0506 #4B0D12 #7F161E #B31F2A #DC3440
Accessibility & contrast
On white
10.31
#7F161E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F161E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F161E
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F161E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F161E | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f161e; /* rgb */ color: rgb(127, 22, 30); /* oklch */ color: oklch(39.0% 0.139 23.2);
Tailwind
colors: {
custom: {
50: '#ac5f5a',
500: '#7f161e',
950: '#000000',
},
}SCSS
$custom: #7f161e; $custom-light: #ac5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7f161e",
"rgb": {
"r": 127,
"g": 22,
"b": 30
},
"hsl": {
"h": 355.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.3898,
"c": 0.13885,
"h": 23.2
},
"luminance": 0.0518
}Semantic roles & 50–950 ramp
primary
#7F161E
secondary
#3DB4AB
accent
#EDE03B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978