It should be noted that a lot of people mistake relative pitch for perfect pitch.
Perfect pitch means that I can sit down at a piano (or other instrument), play one random note, and you can instantly tell me what note that is. No preamble, no tuning yourself up, you can just do it.
Relative pitch is much more about recognizing intervals - a tritone versus a perfect fifth for example.
You'll find as was the case when synesthesia became the trendy fashion of the day that a lot of people like to believe that they possess perfect pitch when it's almost invariably relative pitch.