July 26, 2021 | 11:46am

No one can rock a bikini like Jennifer Lopez.

The “Dinero” singer celebrated her 52nd birthday on Saturday with boyfriend Ben Affleck aboard a yacht in St. Tropez.

“5 2 … what it do …💗,” Lopez captioned a series of Instagram photos posing in a printed bikini, the last of which shows the superstar sharing a passionate kiss with Affleck, 48.

For fans wanting to recreate her ultra-glamorous outfit, the orange-and-yellow Valentino swimsuit will set you back $650.

Plus, Lopez paired it with a matching $2,300 silk-cotton cape, also by Valentino.

J.Lo completed her ab-baring look with pink wedge heels, a dramatic hat and tons of gold jewelry.

Affleck got handsy with the birthday girl, grabbing her booty and recreating an iconic moment from her 2002 “Jenny From the Block” video. They later spent the night cuddled up at L’Opéra restaurant, with J.Lo slipping into a sultry black dress.

Affleck wrapped his arms around Lopez as they exchanged a passionate smooch.
Jennifer Lopez/Instagram

Ironically, the superstar’s ex-fiancé Alex Rodriguez is celebrating his own birthday in St. Tropez as well, partying on a separate yacht with bikini-clad women.

Bennifer rekindled their romance in April, one month after J.Lo ended her two-year engagement to Rodriguez over his entanglement with “Southern Charm” star Madison LeCroy.

The new couple subtly made things Instagram-official at pal Leah Remini’s birthday party last week.