Color combinations / Yellow and Pink
Yellow and Pink color combination
These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing.
Do they work together?
Not for text. The ratio is 1.43:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
Contrast is the same in both directions. Check other pairs in the contrast checker.
See it in use
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Make the pair accessible
Keep the hue and adjust lightness until body text passes 4.5:1.
Copy the colors
--yellow: #ffff00; --pink: #ffc0cb;
More with yellow
Common questions
Do yellow and pink go well together?
These colors are a moderate distance apart on the wheel, giving a balanced but distinct pairing. Not for text. The ratio is 1.43:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
What are the hex codes for yellow and pink?
Yellow is #FFFF00 and Pink is #FFC0CB.
Can I use yellow text on pink?
Not for text. The ratio is 1.43:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.