<main>
  <span class="Swatch hue1">Hue 1</span>
  <span class="Swatch hue2">Hue 2</span>
  <span class="Swatch hue3">Hue 3</span>
  <span class="Swatch hue4">Hue 4</span>
  <span class="Swatch hue5">Hue 5</span>
  <span class="Swatch hue6">Hue 6</span>
</main>
@use cssnext;

:root {
  --hue-base: #d54032;
  --hue1: color(var(--hue-base));
  --hue2: color(var(--hue-base) hue(+ 60deg));
  --hue3: color(var(--hue-base) hue(+ 120deg));
  --hue4: color(var(--hue-base) hue(+ 180deg));
  --hue5: color(var(--hue-base) hue(+ 240deg));
  --hue6: color(var(--hue-base) hue(+ 300deg));
}

html {
  background: #03001e;
}

main {
  display: flex;
  justify-content: space-between;
}

.Swatch {
  display: inline-block;
  font-weight: bold;
  padding: .5em 1em;
  border-radius: .25em;
  white-space: nowrap;
}

.hue1 {
  background-color: var(--hue1);
}

.hue2 {
  background-color: var(--hue2);
}

.hue3 {
  background-color: var(--hue3);
}

.hue4 {
  background-color: var(--hue4);
}

.hue5 {
  background-color: var(--hue5);
}

.hue6 {
  background-color: var(--hue6);
}
View Compiled
Rerun