Objective Natural product-derived biomaterials are highly desired as possible ingredients in cosmetics, as they are often safe and effective. Salvianic acid A (SAA) and salvianolic acid B (SAB) are the primary water-soluble ingredients of Salvia miltiorrhiza Bunge ( Lamiaceae). These compounds have extensive applications as both effective and biocompatible bioactive agents for the treatment of various diseases including cardiovascular disorders, liver ailments, and neuroprotection. This study aimed to evaluate the skin-whitening effects of SAA and SAB on co-cultured human melanoma A375 cells and human keratinocytes HaCaT cells, with the intention of investigating their potential as cosmetic ingredients. Methods First, we assessed the SAA and SAB's efficacy on cells proliferation using MTT assay, as well as their inhibition on intracellular tyrosinase (TYR) activity. Next, we evaluated their effects on the mRNA expression levels of TYR and its related proteins. Furthermore, the whitening efficacy of SAA and SAB was assessed by observing the decrease in melanin content in treated human amalignant melanoma A375 and human keratinocyte HaCaT cells. Results Both SAA and SAB inhibited the activity of TYR and decreased the mRNA expression of TYR-related proteins, thereby inhibiting melanin synthesis. Conclusion Our results suggest that both SAA and SAB can be applied as natural and novel cosmetics materials having a whitening function, which could be beneficial in the cosmeceutical industry.