Rainbow Pass does not exist in FireRed/LeafGreen. It's a Ruby/Sapphire/Emerald event item that unlocks the Battle Frontier via the SS Tidal.
FireRed and R/S/E are all Generation III, but they have distinct event item sets. No inter-generation item transfer exists in Gen III. The Rainbow Pass is hardcoded to the Hoenn games' Battle Frontier system.
To access Battle Frontier, play Emerald (has it natively) or transfer a team to a Gen IV game with Frontier access.