The convention with which I am familiar is that qualifying is bad if the selectors are of varying levels of specificity. This is to say that it makes no sense to qualify an id with a class or tag (because the id is already unique), or to qualify a class with a tag (because the class should be more unique than the tag, and if your purpose is to have a class do two different things in two different cases you should increase readability by making them two different classes). I have, however, never been told that using a class-on-class qualifier is poor practice (in fact I suspect Bootstrap uses these fairly extensively, based purely on its syntax).
This article from MDN, which is one of the top search results for "css tag qualifying", appears to agree with my point of view, at least regarding when this is bad practice:
If a rule has an ID selector as its key selector, don’t add the tag name to the rule. Since IDs are unique, adding a tag name would slow down the matching process needlessly.
It goes on to say:
The previous concept also applies [to qualifying a tag with a class]. Though classes can be used many times on the same page, they are still more unique than a tag. One convention you can use is to include the tag name in the class name. However, this may cost some flexibility; if design changes are made to the tag, the class names must be changed as well. (It’s best to choose strictly semantic names, as such flexibility is one of the aims of separate stylesheets.)
CSS Tricks seems to agree, saying:
ID's are unique, so they don't need a tag name to go along with it. Doing so makes the selector less efficient. Don't do it with class names either, if you can avoid it. Classes aren't unique, so theoretically you could have a class name do something that could be useful on multiple different elements. And if you wanted to have that styling be different depending on the element, you might need to tag-qualify (e.g. li.first), but that's pretty rare, so in general, don't.
I hope that helps to answer your question.
.header.of-carousel
is more specific thanh2.of-carousel
, which is more specific than.carousel-header
(which is what I would personally use), and also means more changes if changing underlying html (when targeting elements directly).