You are mistaken. Currently, the higher income you have here, the higher tax rate you have, where the highest tax rate on income sits at 47%, which you get hit by when your income is above 300K/year. People between 60K and 300K sits at 45%.
And then there are regional differences, someone in Andalucía don't pay the same amount of taxes as someone who lives in Catalunya for example, where the top tax rate is 50%.
Even taking into account other taxes we have, you still end up paying more in taxes the more you earn, unless you start engaging in schemes to lessen your tax burden, obviously. Although the social security is capped, so it does increase slower once you go beyond the cap, but it doesn't start regressing which your comment hinted at.
Edit: important to note that the tax rates are all marginal tax rates, maybe that was a bit unclear.
In California someone on the median personal income of about $50k pays 18% income tax. In Spain (Madrid) someone on the median income of about €23k pays 19% income tax.
Double the median income and it's 27% in California and 27% in Spain
Four times median income and 33% California, 34% Spain