Redcaps do not appear in the Harry Potter universe. They are malevolent, bloodthirsty goblins from Scottish folklore (known for dyeing their caps with victims' blood). While J.K. Rowling drew heavily on British mythology, Redcaps are not among the creatures she included.
The series features many magical beings—house-elves, goblins (Gringotts bankers, not Redcaps), centaurs, acromantulas, dementors, etc.—but Redcaps remain in folklore collections, not Hogwarts.