Complex shapes with only css

Hi Everyone!
I’m currently working on a client project and was wondering if it’s possible to create these shapes using CSS. Since they’re used in multiple places, I’d prefer to reuse them with a class instead of relying on images.