
The International Automobile Federation (FIA) says Spanish circuits risk punishment as a result of the incident.
"We are surprised and disappointed at the abuse," stated an FIA spokesman.
"This is a clear breach of FIA principles and any repetition will result in serious sanctions."
Reports in a number of Spanish papers said Hamilton was booed and insulted whenever he made his way from the team motor home and into the pits on Saturday for pre-season testing at the Barcelona circuit.
"It is not right the way he is being treated," McLaren test team manager Indy Lall was quoted as saying.
BBC Radio 5 Live's Formula One commentator David Croft explained that some of those present to watch the testing had gone to great lengths to upset the British driver.
Although the FIA did not spell out the sanctions, either circuit could lose its place in the championship if local organisers fail to deal with any further incidents of racist behaviour.
"We would like to make a plea to the fans to behave correctly," circuit director Ramon Pradera was quoted as saying in La Vanguardia newspaper.
"No type of offensive behaviour can be tolerated."
Gerry Sutcliffe, sports minister for the British government, has demanded the FIA take action to prevent a repeat of the "sickening" racist abuse suffered by Hamilton.
"There were about 55,000 fans present over the three days of testing," said Croft.
Following racist abuse suffered by English footballers in Spain in recent years, Sutcliffe believes strong action is required now.
"Racism should not be tolerated and this is not the first time British sportsmen have been racially abused in Spain," he said.
"This brings in question whether the Grand Prix should be held at this track.
"I am going to write to the FIA to ask what action they are going to take in response to this.
"I am also going to write to the Spanish Sports Minister to express our ongoing concern about racism suffered by our sportsmen."
http://news.bbc.co.uk/sport2/hi/motorsport/formula_one/7225523.stm