U.S. consumer prices rose in March, but inflation pressures remained generally benign, which should give the Federal Reserve ample scope to keep interest rates low.

The Labor Department said on Tuesday its Consumer Price Index increased 0.2 percent last month as a rise in food and shelter costs offset a decline in gasoline prices. The CPI index had gained 0.1 percent in February. Economists polled by Reuters had expected a 0.1 percent rise last month. In the 12 months through March, consumer prices increased 1.5 percent after rising 1.1 percent over the 12 months through February. The so-called core CPI, which strips out the volatile energy and food components, also rose 0.2 percent in March after edging up 0.1 percent the prior month. In the 12 months through March, the core CPI advanced 1.7 percent after rising 1.6 percent in February.

Produce clerk inspects the produce at a Publix Super Markets grocery store in Knoxville, Tenn., Wednesday, March 5, 2014. Luke Sharrett | Bloomberg | Getty Images

The Fed targets 2 percent inflation and it tracks an index that is running even lower than the CPI. The rise last month could ease concerns among some policymakers about inflation being too low.

In March, food prices increased 0.4 percent after rising by the same margin in February. A drought in the West has pushed up prices for meat, dairy, fruit and vegetables. More price increases could be on the way after food prices at the factory gate posted their biggest gain in 10 months in March. Gasoline prices fell 1.7 percent, declining for a third straight month. Within the core CPI, shelter costs increased 0.3 percent, which accounted for almost two-thirds of the rise in the index. Rents increased 0.3 percent. There were also increases in medical care, apparel, used cars and trucks, airline fares and tobacco. The cost of recreation, and household furnishings fell.

Manfuacturing barely expands in April