Genes involved in melanin production directly impact insect pigmentation and can affect diverse physiology and behaviours. The role these genes have on sex behaviour, however, is unclear. In the present study, the crucial melanin pigment gene black was functionally characterised in an urban pest, the German cockroach, Blattella germanica. RNAi knockdown of B. germanica black (Bgblack) had no effect on survival, but did result in black pigmentation of the thoraxes, abdomens, heads, wings, legs, antennae, and cerci due to cuticular accumulation of melanin. Sex-specific variation in the pigmentation pattern was apparent, with females exhibiting darker coloration on the abdomen and thorax than males. Bgblack knockdown also resulted in wing deformation and negatively impacted the contact sex pheromone-based courtship behaviour of males. This study provides evidence for black function in multiple aspects of B. germanica biology and opens new avenues of exploration for novel pest control strategies.