Background color can be specified as hex or a name such as white. The fuzz parameter should be modified to fit desired output, 10% is usually a good bet.
white
fuzz
convert -transparent "#ffffff" -fuzz 10% imagen.png imagen-sin-fondo.png