Pairing 23 of 27

Red, pink and yellow color palette

A red, pink and yellow color palette: red #8C0D2F (Macabre), pink #E0115F (Radiant Raspberry) and yellow #FFD700 (Gold). Below are the hex, RGB and HSL values, the WCAG contrast ratio for each pair, and the palette on example websites.

Passes WCAG AA for normal text (4.5:1): #8C0D2F and #FFD700 (6.76:1). Does not pass: #8C0D2F and #E0115F (1.99:1), #E0115F and #FFD700 (3.39:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Macabre#8C0D2Frgb(140 13 47)hsl(344 83% 30%)White, 9.48:1
Radiant Raspberry#E0115Frgb(224 17 95)hsl(337 86% 47%)White, 4.75:1
Gold#FFD700rgb(255 215 0)hsl(51 100% 50%)Black, 14.97:1

Contrast ratios

WCAG 2 contrast between each pair of colors. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text (18 pt, or 14 pt bold) and UI parts need 3:1 for AA.

PairRatioAA textAAA textAA largeUse
Macabre and Radiant Raspberry1.99:1FailFailFailAccents only
Macabre and Gold6.76:1PassFailPassBody text
Radiant Raspberry and Gold3.39:1FailFailPassLarge text and UI

How to use this palette

  • Macabre and Gold is the strongest pair at 6.76:1. It passes AA for body text but not AAA.
  • Keep Macabre and Radiant Raspberry (1.99:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Macabre takes white text at 9.48:1; Radiant Raspberry takes white text at 4.75:1; Gold takes black text at 14.97:1.
  • Lightness runs from 3000% (Macabre) to 5000% (Gold), a wide spread. Use Macabre or Gold as the page background and the other as text.
  • Gold is the most saturated (10000%) and very light, so it suits the accent: buttons, links and one-off highlights.

Preview on example websites

The same three colors on made-up sites. The first color is the base, the second supports it in panels and photos, and the third is the accent. Switch the template with the arrows, turn the accent off, or swap the roles.

Product launch