Play video content EXCLUSIVE TMZsports.com

Boxer Amir Khan says he was so serious about fighting Floyd Mayweather -- he offered to take the fight for FREE ... but Mayweather still ducked him because he's "afraid."

Khan was a in Pebble Beach for the Pro-Am -- when he dished about the failed negotiations to fight the legend ... and talked some smack at the same time.