Babylonian Talmud states that Ham's "skin turned black."
Sanhedrin 108b:15 (Babylonian Talmud), Sefaria, accessed July 16, 2021
Translation of Babylonian Talmud Text: The Sages taught: Three violated that directive and engaged in intercourse while in the ark, and all of them were punished for doing so. They are: The dog, and the raven, and Ham, son of Noah. The dog was punished in that it is bound; the raven was punished in that it spits, and Ham was afflicted in his skin. (חם לקה בעורו)