Yes, nail polish does have dyes.
To achieve the wide array of colors available, nail polish manufacturers almost exclusively use dyes, specifically Coal Tar Dyes. These dyes are typically identified on ingredient lists with the abbreviation "CI" followed by a five-digit number. The use of these dyes is more concerning for individuals who work in nail salons due to their frequent exposure.