Thanks for writing in.
The condition you are suffering from can be erythrasma,tinea cruris
,acquired melanocytic nevus
Consider a visit to dermatologist
for prescription drugs.
Discuss the option of Skin biopsy
with your doctor.It will help a lot in proper definitive diagnosis and subsequent diagnosis.
Hope this helps.
If you need any further clarification do let me know.