JSFiddle - React, Tailwind, and code Playground

HTML

<figure>
  <img src="http://unilaboralgirona.com/wp-content/uploads/2015/03/ZContact.jpg" alt="">
  <figcaption>
    <h3>Lorem ipsum</h3>
    <p>Lorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum</p>
  </figcaption>
</figure>

CSS

figure {
  position: relative;
}

figure img {
  width: 100%;
}

figure:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background: rgba(230, 41, 47, .6);
}

figure > figcaption {
  position: absolute;
  top: 5%;
  left: 25%;
  width: 50%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 9999;
  color: #fff;
  font-size: 2.4em;
  
}