^ +1
If you want, I can get a little more into the nitty-gritty of it. Yay, I finally get to use those 10th grade biology class skills now!
Genetically speaking, blonde hair is a recessive trait. Let’s refer to brown hair as B, and blonde hair as b. If a sperm and egg cell joined together to create a zygote, and both of them had the genotype of Bb, then there would be a fourth of a chance of the offspring having blonde hair. As you can see, it’s naturally a bit harder to have a child who is blonde, especially if the parents are both brown-haired. (My parents are both brown-haired, and I’m a blond boy, so it is possible, but it’s not that likely.) If the egg cell had the genotype of BB and the sperm had a genotype of bb, or vice versa, there would be no chance of having a child with blonde hair, since you’d need two bb genes to have a blonde child.
The trait for hair color is not sex-linked, meaning that the sex chromosomes of a zygote don’t affect whether the trait shows up or not. (An example of a sex-linked trait is red-green colorblindness or hemophilia; the genetic mutations of those rest on the X chromosome. Since people assigned male at birth usually have only one X chromosome, they’re more likely to be red-green colorblind or have hemophilia than people assigned female at birth.) Since the trait for hair color is not sex-linked, there’s no correlation between having blonde hair and the child’s assigned sex.
However, as Marina points out, there are plenty of people who dye their hair, and unless the roots are coming in, it’s usually pretty hard to tell if the hair color isn’t natural (provided whoever dyed the hair knew what they were doing, which most of the time, they do). And honestly - assuming a child’s assigned sex or gender over the color of their clothes is quite silly. There are lots of men who wear pink, and lots of women who wear blue (and in fact, pink used to be the masculine color and blue was the feminine color, but then Hitler changed that by “tagging” gay people with pink stars, which swapped it around because of homophobic stereotypes).
TL;DR: There’s no correlation between assigned sex and hair color, but natural blonde hair is genetically a bit more “rare” in the first place due to it being a recessive trait, and assuming a child’s assigned sex or gender on the basis of their hair and clothing color doesn’t make sense. Does that answer your question?