← Colors in interface design

Using Blush (#F29E8E) in Interface Design: Scale, Buttons and Dark Mode

A working design system from Blush #F29E8E: a 50 to 950 scale, button states with contrast, a dark-mode version, an accessible link color and the CSS to paste in.

Blush (#F29E8E) is a light, moderately saturated pink. As an interface color it has a clear personality: it is light enough that dark labels read better than white ones, which makes it better as a surface, a highlight or a data color than as a button. This guide shows how to build a working interface from it: a full scale, every button state, a dark-mode version, a link color that passes, and the CSS to paste in.

A scale built from Blush

A single color is not enough for an interface. You need lighter steps for surfaces and borders and darker steps for text and hover states. This 50 to 950 scale keeps the hue and saturation of Blush and moves only the lightness. The step closest to Blush keeps its exact value.

StepHexContrast on whiteBest text on it
50#FEF4F21.08:1#111111
100#FCE5E11.20:1#111111
200#F8D0C81.41:1#111111
300#F29E8E2.08:1#111111
400#D58B7D2.68:1#111111
500#BC6D5F3.82:1#111111
600#A0574A5.30:1#FFFFFF
700#8244387.41:1#FFFFFF
800#64322910.34:1#FFFFFF
900#4B231C13.49:1#FFFFFF
950#2D110C17.54:1#FFFFFF

Button states

Interactive elements need to look different when you hover, press and disable them, and each state still has to be readable. These values are made from Blush itself, so the button stays in family.

StateBackgroundLabelLabel contrast
Default#F29E8E#1111119.04:1
Hover#E59586#1111118.07:1
Pressed#D98D7F#1111117.25:1
Disabled#FAE1DD#6B72803.88:1

Disabled controls are exempt from WCAG contrast rules, but they still need to be recognizable, so the label is kept dark enough to read. For keyboard focus, use an outline of Babe (#D07F70), which reaches 3 to 1 against a white page, the minimum for interface parts.

Dark mode

On a near-black page (#0F1115), Blush reaches 9.04:1 (AAA). That is enough to use it directly as text, a link or an icon in dark mode.

Links and text

Blush on white reaches only 2.08:1, which is not enough for text. For links and small headings use Mars (#AF6153), the closest shade that reaches 4.5 to 1, and keep Blush itself for fills and large display type.

Surfaces and borders

Tints of Blush make quiet surfaces that feel connected to the brand without competing with it. Snow (#FEFBFA) works as a card or page tint, and Salt (#FCEEEC) as a border or divider.

The CSS

CSS variablescss
:root {
  --brand: #F29E8E;
  --brand-hover: #E59586;
  --brand-active: #D98D7F;
  --on-brand: #111111;
  --brand-surface: #FEFBFA;
  --brand-border: #FCEEEC;
  --brand-text: #AF6153;
  --focus-ring: #D07F70;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #F29E8E;
    --brand-text: #F29E8E;
  }
}

A short checklist

  1. Use Blush for the one action you most want people to take.
  2. Put #111111 text on it and check that the ratio stays above 4.5 to 1.
  3. Use the scale for hover, pressed, border and surface colors rather than inventing new ones.
  4. Define a separate dark-mode value and test it on a dark page.
  5. Never use the color as the only signal: add an icon, a label or an underline.