Now is not really the time to come to Spain if you are looking to top up your tan (though it might be possible on the south coast).
While Spain doesn't get as much rainfall as other European countries, some rain is a possibility at any time of year.
Remember that we're talking averages here. Weather throughout the world is unpredictable, so don't take what you read on this page as gospel.
Further Reading:
Weather in Madrid in February
As the highest capital city in Europe, Madrid gets the cold in a big way, especially at night. Wrap up warm! The city tends to stay reasonably dry, but you can still expect rain on about one in three days.The average maximum temperature in Madrid in February is 54°F/12°C and the average minimum temperature is 36°F/2°C.
Read more about Madrid
Weather in Barcelona in February
Barcelona is a little warmer in February than Madrid (because of the warming effect of the sea) but not much. It doesn't rain much in Barcelona in February, so expect deceptively blue skies (you'll look out the window, think it's warm and go out in a t-shirt!).The average maximum temperature in Barcelona in February is 57°F/14°C and the average minimum temperature is 41°F/5°C.
Read more about Barcelona
Weather in Andalusia in February
Andalusia is, generally speaking, an exception to the rule - it won't get anywhere near as cold here as it does in the north. It is quite a bit warmer in land (such as in Seville) than on the coast. Andalusia may still be a little cold to sunbathe on most days, but you shouldn't be shivering as you would be further north in the country. Rain is infrequent but does occur.
The average maximum temperature in Malaga in February is 63°F/17°C and the average minimum temperature is 46°F/8°C.
Read more about Andalusia
Weather in Northern Spain in February
It's too in the north of Spain during February, but that's the least of your worries. You can expect rain every other day in Bilbao and San Sabastian, so an umbrella is as important a purchase as a good winter jacket.The average maximum temperature in Bilbao in February is 57°F/14°C and the average minimum temperature is 43°F/6°C.
Weather in North-West Spain in February
If you thought Bilbao was wet in February, wait until you get to Galicia and Asturias. If you don't like the rain, your days will be ruined more often than not if you visit this month. You've been warned!The average maximum temperature in Santiago de Compostela in February is 52°F/11°C and the average minimum temperature is 46°F/8°C.
Read more about North-West Spain

