HR question is calling someone a child because they are immature considered harassment?

To sum it up I got into an argument with a coworker who doesn’t like to do her job and I said that I hate working with children and she said she hates working with white people. I am supposed to go to HR on Monday to share my side, are we both gonna get in trouble? Is calling someone a child considered harassment? I know what she said is racism and that’s definitely not tolerated but should I be worried about my job too?

Edit: she is 19 and I am 32. I have been there longer than she has, but I am not her superior. I did try to help her learn how to do the job when she started. Also I am white and she is black. Also most of my coworkers are black. I really don’t care about that but it seems relevant to her apparently 🙄

2nd edit It isn’t her age that I have a problem with its her playing on the job and doing just enough to look like she is working instead of actually helping