Here's the scenario:
3 limpers to you on a loose table, you raise the (4.5 BB) pot to 10BB with AKo.
Folded around to an EP limper, who re-raises all-in (40BB).
You have to call 30BB into a 54.5 BB pot (84.5 BB after your call, if you make it).

You know the EP limp-reraiser is tight.

You give him a range of:
10% AK
15% JJ
15% QQ
30% KK
30% AA

I don't have any software to calculate if this is a call or not, but let's just say that pokerstove calls this a fold, given the ranges.

You fold, as your divined ranges dictate. Villain flips AKo. Was there a mistake here, if any? Was the fold a mistake, because the your odds were favorable (you would've divied up the blinds), or was it good, because your odds were unfavorable (most of the time you'd be behind, sometimes crushed)?

This all assumes your ranges are pristine.