A novel ratiometric sensor for the fast detection of palladium species with large red-shift and high resolution both in aqueous solution and solid state.