Using Lust (#E62020) in Interface Design: Scale, Buttons and Dark Mode
A working design system from Lust #E62020: a 50 to 950 scale, button states with contrast, a dark-mode version, an accessible link color and the CSS to paste in.
Lust (#E62020) is a medium, vivid red. As an interface color it has a clear personality: it is dark enough to carry white labels, which makes it a natural button and header color. 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 Lust
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 Lust and moves only the lightness. The step closest to Lust keeps its exact value.
| Step | Hex | Contrast on white | Best text on it |
|---|---|---|---|
| 50 | #FFF4F2 | 1.07:1 | #111111 |
| 100 | #FFE4E0 | 1.20:1 | #111111 |
| 200 | #FDCEC7 | 1.41:1 | #111111 |
| 300 | #FDA79B | 1.87:1 | #111111 |
| 400 | #F87365 | 2.75:1 | #111111 |
| 500 | #E62020 | 4.57:1 | #FFFFFF |
| 600 | #CF0D14 | 5.64:1 | #FFFFFF |
| 700 | #A31716 | 7.80:1 | #FFFFFF |
| 800 | #7F0B0C | 10.73:1 | #FFFFFF |
| 900 | #600405 | 13.84:1 | #FFFFFF |
| 950 | #3B0001 | 17.70: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 Lust itself, so the button stays in family.
| State | Background | Label | Label contrast |
|---|---|---|---|
| Default | #E62020 | #FFFFFF | 4.57:1 |
| Hover | #D91E1E | #FFFFFF | 5.05:1 |
| Pressed | #CE1B1B | #FFFFFF | 5.53:1 |
| Disabled | #F6CFCF | #6B7280 | 3.39: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 Lust (#E62020), which reaches 3 to 1 against a white page, the minimum for interface parts.
Dark mode
On a near-black page (#0F1115), Lust reaches 4.13:1 (AA large). That is not enough for text, so lighten it. Tomato (#F1302B) is the closest lightness of the same hue that reaches 4.5 to 1.
Links and text
Lust on white reaches 4.57:1 (AA), so it can be a link and heading color as it is. Links also need a second cue beyond color, such as an underline, because some readers cannot tell the link color from the surrounding text.
Surfaces and borders
Tints of Lust make quiet surfaces that feel connected to the brand without competing with it. Snow (#FEF8F8) works as a card or page tint, and Tutu (#FAE5E5) as a border or divider.
The CSS
:root {
--brand: #E62020;
--brand-hover: #D91E1E;
--brand-active: #CE1B1B;
--on-brand: #FFFFFF;
--brand-surface: #FEF8F8;
--brand-border: #FAE5E5;
--brand-text: #E62020;
--focus-ring: #E62020;
}
@media (prefers-color-scheme: dark) {
:root {
--brand: #F1302B;
--brand-text: #F1302B;
}
}A short checklist
- Use Lust for the one action you most want people to take.
- Put #FFFFFF text on it and check that the ratio stays above 4.5 to 1.
- Use the scale for hover, pressed, border and surface colors rather than inventing new ones.
- Define a separate dark-mode value and test it on a dark page.
- Never use the color as the only signal: add an icon, a label or an underline.