I haven’t noticed that much racism on lemmy. (I’m not including .ml and grad and hexbear as they are different). Obviously like anywhere, it does exist and your linked post is an example of it.
I have noticed more ableism and sometimes a little (soft) misogyny. But both at a level much lower than reddit.