equity (%) win (%) tie (%)
Hand 1: 46.1116 % 45.90% 00.22% { As8s }
Hand 2: 53.8884 % 53.67% 00.22% { 7d7s }

More like 52-48, classic underpair vs. two overcards scenario. Yes it was appropriate to raise there. Calling depends on BB's re-raise range and whether you think you're dominated.