What type of dye did you use?? Some dyes are 'multi' type dyes, meaning they are used for both animal and vegetable fibers (such as Rit).
When dyeing an animal fiber, the excess vegetable dye bleeds out. You really need to rinse this well to prevent bleeding.
Letting the cotton soak in some salt water will help once you rinse real well.