I assume by "red worms" you mean small reddish earthworms, which are often sold as fish bait? Yes, these would be a fine food *IF* the salamander is willing to eat them. Redworms give off an odor, which causes some sals to refuse to eat them. Also, those sold for bait are usually raised in manure, so it's a good idea to transfer the worms to fresh bedding and feed them for a few days before using them.
A better option that I would recommend are Canadian nightcrawlers. I'm told these are available in the UK. They have to be cut into pieces due to their large size, but very few sals will refuse them.