🍋
Menu
Design

Complementary Colors

Complementary Color Scheme

Two colors positioned directly opposite each other on the color wheel, creating high contrast when paired.

Detail Teknis

The complementary colors is based on the three primary models: RYB (traditional pigment), RGB (additive light), and CMYK (subtractive print). In the perceptually uniform OKLCH color space, equal numerical distances correspond to equal perceived differences — unlike HSL where a 10-degree hue shift appears dramatically different at different lightness levels. Modern CSS supports oklch() natively, enabling designers to create harmonies with mathematically consistent perceptual contrast.

Contoh

```css
/* Complementary Colors: design specification example */
.component {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
  padding: 1rem 1.5rem;
}
```

Alat Terkait

Istilah Terkait