JSFiddle - React, Tailwind, and code Playground
HTML
<div class="test"></div>
CSS
.test {
width: 200px; height: 200px; background: red;
border-radius: 50%; margin: 100px;
border: 30px solid rgba(0,0,0,0.5);
background-clip: padding-box;
}