A solution with TikZ. The hash sign has the width of 80% of the equals sign, see \myWidth, and the height of an uppercase letter, see \myHeight. The vertical distance of the horizontal lines is configured as a third of the width, see \mySepY. The angle of the slanted lines is configured by \myAngle. Also side bearings are added, see \mySideBearing. The line caps are round:
\documentclass{article}
\usepackage{tikz}
\newcommand*{\myhash}{%
\begin{tikzpicture}
% Width: 80% of equal sign
\pgfmathsetlengthmacro\myWidth{.8*width("=")}%
% Height: height of uppercase letter
\pgfmathsetlengthmacro\myHeight{height("H")}%
% Space between horizontal lines
\pgfmathsetlengthmacro\mySepY{.3333*\myWidth}%
% Side bearing
\pgfmathsetlengthmacro\mySideBearing{.1*\myWidth}%
% Angle for slanted vertical lines
\def\myAngle{70}%
% Calculate separation of vertical lines in horizontal direction
\pgfmathsetlengthmacro\mySepX{\mySepY/sin(\myAngle)}%
% Calculate the width of a slanted line
\pgfmathsetlengthmacro\mySlantX{\myHeight/tan(\myAngle)}%
\draw[line cap=round]
(0, {(\myHeight - \mySepY)/2}) -- ++(\myWidth, 0)
(0, {(\myHeight + \mySepY)/2}) -- ++(\myWidth, 0)
({(\myWidth - \mySepX - \mySlantX)/2}, 0)
-- ({(\myWidth - \mySepX + \mySlantX)/2}, \myHeight)
({(\myWidth + \mySepX - \mySlantX)/2}, 0)
-- ({(\myWidth + \mySepX + \mySlantX)/2}, \myHeight)
;%
\useasboundingbox
(-\mySideBearing, 0)
(\myWidth + \mySideBearing, \myHeight)
;%
\end{tikzpicture}%
}
\begin{document}
A\myhash B vs.\@ A\#B
\end{document}
