Replacement part for molex connector

Hi, I’m trying to buy this part:
https://www.digikey.com/en/products/detail/molex/0039014020/6822885?s=N4IgTCBcDaIAxwMwE44EYAscxxAXQF8g

But it’s out of stock. Do you know if this is a valid replacement for it?
https://www.digikey.com/en/products/detail/adam-tech/DMH-02-S/9830576

Hello user66,

Thank you for your inquiry.

Not seeing any of the critical dimensions in the datasheet/drawings available to check form/fit with these two connectors, otherwise there’s no way to reference compatibility.

It looks like it would maybe work, I don’t know if it matters in your application but you’d void Molex’s terms and conditions of warranty if you’re mixing and matching connectors with their existing connectors.

Thank you! Do you know if there is any official replacement from Molex? Perhaps in another color or material?