Being in recession is typically defined as negative gdp growth.
So to answer your question, being in recession does account for inflation.