A blob that looks hand-drawn is usually eight numbers on a border-radius, not a vector someone nudged for an hour. The shorthand takes four horizontal radii and four vertical radii. The page opens at 55% 45% 63% 37% across and 35% 43% 57% 65% down, which is already lopsided enough to read as a pebble rather than a pill. The CSS that comes back is one declaration: border-radius: 55% 45% 63% 37% / 35% 43% 57% 65%;
The slash is the whole trick. Numbers before it push the corners along the width. Numbers after it push them along the height. If you omit the second set, every corner uses a matching vertical radius and the shape gets closer to a rounded square. Each value has to sit between 0% and 100%, and each axis needs exactly four numbers. Three numbers is a CSS shorthand the page will not guess at.
Put the rule on a square element with a background. On a very wide rectangle the same percentages stretch into a smear.
Horizontal radii 55 45 63 37, vertical radii 35 43 57 65.
border-radius: 55% 45% 63% 37% / 35% 43% 57% 65%;
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
It separates horizontal radii from vertical radii. Without it, a corner's height follows its width and the blob gets more regular.
The eight numbers are too close to each other, or the element is a wide rectangle. Spread the percentages and use a square.
This page expects percentages from 0 to 100, four per axis. Pixel radii for ordinary corners belong on the border-radius page.
The declaration is static CSS. You can transition border-radius yourself between two copies of the rule.
Four on each axis. The page rejects a shorter list instead of filling in the CSS shorthand.