A detergent is considered safe for baby clothes if it's free from harsh chemicals, fragrances, dyes, and brighteners. Look for products labeled as hypoallergenic or designed specifically for sensitive skin, as these are formulated to be gentle and minimize the risk of irritation.