#7F161F#7F161F
#7F161F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 22.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F161F |
|---|---|
| RGB | rgb(127, 22, 31) |
| HSL | hsl(355, 70%, 29%) |
| HSV | hsv(355, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 75.6%, 50.2%) |
| CIE-LAB | lab(27.26, 43.84, 23.56) |
| CIE-LCH | lch(27.26, 49.77, 28.25°) |
| OKLab | oklab(39% 0.1281 0.0535) |
| OKLCH | oklch(39% 0.139 22.7) |
| XYZ | xyz(9.2877, 5.1862, 1.8081) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.95
Wine Red
#7B0323
ΔE00 4.27
Crimson (survey)
#8C000F
ΔE00 5.14
Claret
#680018
ΔE00 5.79
Rosewood
#65000B
ΔE00 6.05
Blood
#770001
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F161F #167F76
analogous
#7F1654 #7F161F #7F4216
triadic
#7F161F #1F7F16 #161F7F
tetradic
#7F161F #547F16 #167F76 #42167F
square
#7F161F #547F16 #167F76 #42167F
split-complementary
#7F161F #167F42 #16547F
monochromatic
#1A0506 #4B0D12 #7F161F #B31F2C #DC3442
Accessibility & contrast
On white
10.31
#7F161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F161F
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F161F | 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)
#37321E
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f161f; /* rgb */ color: rgb(127, 22, 31); /* oklch */ color: oklch(39.0% 0.139 22.7);
Tailwind
colors: {
custom: {
50: '#ac5f5a',
500: '#7f161f',
950: '#000000',
},
}SCSS
$custom: #7f161f; $custom-light: #ac5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7f161f",
"rgb": {
"r": 127,
"g": 22,
"b": 31
},
"hsl": {
"h": 354.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.38996,
"c": 0.13876,
"h": 22.7
},
"luminance": 0.05185
}Semantic roles & 50–950 ramp
primary
#7F161F
secondary
#3DB4AA
accent
#EDDE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979