The lyricist, Kavi Pradeep, was approached by producer Mehboob Khan to write a song for a fund raiser in New Delhi, and Pradeep chose music director C. Ramchandra along with Lata Mangeshkar as the singer. However, as per the legend, Pradeep only gave a day's notice to Mangeshkar, which is the latter refused to be a part of it initially. However, after some persistence, Pradeep managed to convince Mangeshkar, who only could rehearse for the song once, before her actual performance! In an interview, Pradeep had said that he he wrote the lines of the song, on the "aluminium foil" of a cigarette box, while he was taking a stroll along Mahim beach in Mumbai, and also asked for a pen from a stranger, passing by.