Pairing 03 of 27

Black, white and pink color palette

A black, white and pink color palette: black #000000, white #FFFFFF and pink #E40066 (Magna Cum Laude). 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): #000000 and #FFFFFF (21.00:1), #FFFFFF and #E40066 (4.67:1). Does not pass: #000000 and #E40066 (4.49:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Black#000000rgb(0 0 0)hsl(0 0% 0%)White, 21.00:1
White#FFFFFFrgb(255 255 255)hsl(0 0% 100%)Black, 21.00:1
Magna Cum Laude#E40066rgb(228 0 102)hsl(333 100% 45%)White, 4.67: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
Black and White21.00:1PassPassPassBody text
Black and Magna Cum Laude4.49:1FailFailPassLarge text and UI
White and Magna Cum Laude4.67:1PassFailPassBody text

How to use this palette

  • Black and White is the strongest pair at 21.00:1. It passes AAA, so it works for body text.
  • Black and Magna Cum Laude (4.49:1) works for large text only.
  • Black takes white text at 21.00:1; White takes black text at 21.00:1; Magna Cum Laude takes white text at 4.67:1.
  • Lightness runs from 0% (Black) to 10000% (White), a wide spread. Use Black or White as the page background and the other as text.
  • Magna Cum Laude 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