Accessible pink color palette
Bold and warm, often too light for white text.
Your brand colour
Try an example
What your colour can do
#ec4899
Sits at step 500 of your scale
- ✕ FailWhite text on your colour: 3.53:1. Too faint for normal text (needs 4.5:1).
- ✓ PassBlack text on your colour: 5.95:1. Dark text works here.
Use black or very dark text on this colour, or step 600 (#c61c79) for white text. It keeps your hue and reaches 5.46:1.
Your colour scale
Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.
50
#fff3f7
Black 19.42
100
#ffe5ee
Black 17.69
200
#ffc9dd
Black 14.65
300
#ffa4c9
Black 11.41
400
#ff6caf
Black 8.02
500 (your colour)
#ec4899
Black 5.95
600
#c61c79
White 5.46
700
#a40062
White 7.62
800
#7f004a
White 10.49
900
#5c0034
White 13.96
950
#38001d
White 17.71
See the contrast numbers for every step
| Step | Colour | On white | On dark (#111111) |
|---|---|---|---|
| 50 | #fff3f7 | 1.08:1 ✕ | 17.46:1 ✓ AA |
| 100 | #ffe5ee | 1.19:1 ✕ | 15.91:1 ✓ AA |
| 200 | #ffc9dd | 1.43:1 ✕ | 13.17:1 ✓ AA |
| 300 | #ffa4c9 | 1.84:1 ✕ | 10.26:1 ✓ AA |
| 400 | #ff6caf | 2.62:1 ✕ | 7.21:1 ✓ AA |
| 500 (yours) | #ec4899 | 3.53:1 large text only | 5.35:1 ✓ AA |
| 600 | #c61c79 | 5.46:1 ✓ AA | 3.46:1 large text only |
| 700 | #a40062 | 7.62:1 ✓ AA | 2.48:1 ✕ |
| 800 | #7f004a | 10.49:1 ✓ AA | 1.8:1 ✕ |
| 900 | #5c0034 | 13.96:1 ✓ AA | 1.35:1 ✕ |
| 950 | #38001d | 17.71:1 ✓ AA | 1.07:1 ✕ |
Safe pairs to use
Picked from your scale so each one passes WCAG, with the ratio shown.
- Book now
Button with white text
The lightest step that still gives white text 4.5:1.
White on 6005.46:1 ✓ Pass
- Read the details
Links and text on white
Coloured text on a white page needs 4.5:1 too.
600 on white5.46:1 ✓ Pass
- Read the details
Links on a dark background
For dark mode or dark sections. The darkest step that still reads on near-black.
500 on dark5.35:1 ✓ Pass
- Input with a border
Borders, icons and focus rings
Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).
500 on white3.53:1 ✓ Pass
- Callout text
Text on a light tint
Callouts and badges: a very light background with a dark step for the text.
950 on 5016.37:1 ✓ Pass
Take it with you
:root {
--pink-50: #fff3f7;
--pink-100: #ffe5ee;
--pink-200: #ffc9dd;
--pink-300: #ffa4c9;
--pink-400: #ff6caf;
--pink-500: #ec4899;
--pink-600: #c61c79;
--pink-700: #a40062;
--pink-800: #7f004a;
--pink-900: #5c0034;
--pink-950: #38001d;
}
The short answer
Pink (#ec4899) does not work with white text. The ratio is only 3.53:1, below the 4.5:1 needed for AA. Dark text works instead, at 5.95:1. If you want white text, use step 600 (#c61c79), which reaches 5.46:1.
Pink shades and their contrast
| Step | Colour | On white | On dark |
|---|---|---|---|
| 50 | #fff3f7 | 1.08:1 ✕ | 17.46:1 ✓ AA |
| 100 | #ffe5ee | 1.19:1 ✕ | 15.91:1 ✓ AA |
| 200 | #ffc9dd | 1.43:1 ✕ | 13.17:1 ✓ AA |
| 300 | #ffa4c9 | 1.84:1 ✕ | 10.26:1 ✓ AA |
| 400 | #ff6caf | 2.62:1 ✕ | 7.21:1 ✓ AA |
| 500 (yours) | #ec4899 | 3.53:1 large only | 5.35:1 ✓ AA |
| 600 | #c61c79 | 5.46:1 ✓ AA | 3.46:1 large only |
| 700 | #a40062 | 7.62:1 ✓ AA | 2.48:1 ✕ |
| 800 | #7f004a | 10.49:1 ✓ AA | 1.8:1 ✕ |
| 900 | #5c0034 | 13.96:1 ✓ AA | 1.35:1 ✕ |
| 950 | #38001d | 17.71:1 ✓ AA | 1.07:1 ✕ |
Questions about pink
Does pink work with white text?
Not at normal text sizes. Pink (#ec4899) has a contrast ratio of 3.53:1 with white, below the 4.5:1 WCAG AA asks for. The nearest shade that works is step 600 (#c61c79) at 5.46:1.
Does black text work on pink?
Yes. Black on #ec4899 is 5.95:1, which passes AA, so dark text is a good choice on this colour.
Which shade of pink should I use for links on a white page?
Use a step that reaches 4.5:1 on white. For pink that is step 600 (#c61c79), at 5.46:1.
Other colours
Is your live site using these colours well?
A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.