On some level this is obviously true. The important question is on what level? Blue being male coded, socially construed. Blue being perceived as colder probably not, which leans me towards sadness association being real. Something to test.
On a related note I listened to an Agnes Callard podcast we here she used small girls as examples of experts, on prettiness, as that’s the thing they care about disproportionately much. Thus the fact that they agree pink and purple are the prettiest colors is evidence this is in some real way true. I thought that was interesting as my son’s favorite colors at the time were purple and mauve. He’s now moved on to pink. I’m persuaded that something like an objective ranking of color pleasantness exists. Obviously you can self-modify to like things, like architects self-modify to find Brutalism and other crimes a against beauty good, or how people grow to like coffee.