Palette maker

Yellow and Pink Color Palette: Combinations and Hex Codes

The classic yellow and pink pair is (pure yellow) and (CSS pink), a warm, cheerful combination that works best when you soften the yellow and keep dark text on top.

Fresh ideas, made simple

A short line of body text to test how readable these colors are.

Get started

Text contrast

-

    On this page
    1. Color codes
    2. Look and mood
    3. Contrast
    4. Best shades
    5. Web and UI
    6. Branding
    7. Interiors, fashion
    8. Print tips
    9. Gradients
    10. Palettes
    11. FAQ

    Both colors are bright and light, so they behave more like two sweets in the same box than like opposites. The strip above shows them as background, text and button, with a contrast score, and you will see quickly that the pair has plenty of charm but very little contrast. The rest of this page shows how to keep the charm and fix the contrast.

    Yellow and Pink Hex Codes, RGB, HSL and CMYK

    Here are the exact values for the two base colors. The CMYK numbers are simple screen-to-print conversions, so treat them as a starting point rather than a press-ready recipe.

    Color HEX RGB HSL CMYK
    Yellow 255, 255, 0 60°, 100%, 50% 0, 0, 100, 0
    Pink 255, 192, 203 350°, 100%, 88% 0, 25, 20, 0

    Both are named colors in CSS, so you can write yellow and pink instead of the hex codes. Pure yellow is the brightest color a screen can show at full red and green with no blue. CSS pink is a light, slightly cool pink with a hint of blue, which is why it reads as sweet rather than orange.

    How Yellow and Pink Look Side by Side

    Yellow sits at 60° on the color wheel and this pink at 350°, so they are roughly 70° apart. That is close enough to feel related, and far enough to feel distinct. Both are warm, so the pair feels sunny and friendly. Think lemonade, a bakery box or a birthday invitation.

    The mood changes a lot with the version of each color you pick. Pure yellow with pale pink looks like a highlighter on a baby blanket: fun, a bit loud. Butter yellow with blush looks calm and vintage. Mustard with hot pink looks confident and fashion-forward. Same two hue families, three different personalities.

    One thing the pair does well is stay clean when blended. Because yellow and pink both lean warm, a gradient between them passes through peach and apricot, not through a muddy grey. That makes them a safer pair than, say, yellow and purple.

    Why Pure Yellow and Pink Fail the Contrast Test

    Pure yellow has a relative luminance of about 0.93 and CSS pink about 0.63. Put them together and you get a contrast ratio of roughly 1.43:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text and interface components, so yellow on pink (or pink on yellow) fails by a wide margin. They are both light colors, and the eye reads them as nearly the same brightness.

    Which text color is the safest choice on a #FFC0CB pink background?

    Dark text on light pink gives a very high ratio, while white and yellow are both too close in lightness.

    The fix is to add a dark third color. Pure black on yellow gives about 19.6:1 and on pink about 13.7:1. A softer gives about 11.8:1 on yellow and 8.2:1 on pink, which is comfortable to read and easier on the eye than pure black. White is the trap: white on pink is only about 1.5:1, and white on yellow is about 1.1:1.

    Four Aa text samples on yellow and pink tiles showing contrast ratios, light text failing and charcoal text passing WCAG AA
    Pure yellow and pink share almost the same brightness at 1.43:1, but charcoal text passes on both.

    On a recent app project, a client wanted white labels on a pink badge. They looked fine on my calibrated monitor and vanished on a phone in daylight. Switching the label to solved it in one change.

    Try this: Put your yellow and pink side by side in the preview above, then switch the text color to a dark charcoal. Note how much more readable it becomes, and how the pair still looks cheerful.

    Shades and Partners That Make the Pair Work

    You rarely need the pure versions. Move yellow toward butter () or sunflower (), and pink toward pastel () or raspberry (), and you get far more design control. Deep raspberry on white is about 5.9:1, so it can carry pink text where classic pink never could. The rose family also gives you plenty of mid-tones to choose from, and the rose pink page has them.

    What is the quickest fix when yellow and pink look harsh together?

    A neutral gives the eye a resting place and stops the two bright hues from vibrating against each other.

    A few partners make the combination feel finished:

    • Cream () as a buffer, so the two colors do not touch directly.
    • Charcoal () for text, icons and outlines.
    • A soft grey such as the shades on the light gray page, for borders and cards.
    • A pale blue or lilac, as in the light blue and light purple pairing, when you want a third pastel.
    • Orange as a bridge, since pink and orange already get along well and orange sits between your two colors.

    Use the 60/30/10 habit: about 60% a light neutral or one of the two colors, 30% the other, and 10% an accent. When the pair looks harsh, it is almost always because both are fighting at equal size and equal strength.

    Using Yellow and Pink in Web and App Design

    In UI, let pink or butter yellow be a surface and dark text be the content. A pink card with charcoal text is readable, and a yellow button with dark label text stands out strongly. Avoid yellow icons or thin yellow lines on a pink background, since they are almost invisible at 1.43:1.

    Here is a small token set that works well:

    :root {
      --pink-surface: #FFD1DC;
      --yellow-accent: #FFD23F;
      --cream: #FFF8E7;
      --ink: #2B2B2B;
      --raspberry: #C2185B;
    }
    .card { background: var(--pink-surface); color: var(--ink); }
    .btn  { background: var(--yellow-accent); color: var(--ink); }
    .link { color: var(--raspberry); }

    Make focus states visible by adding a dark outline, not a color shift between pink and yellow. If you want a dark mode, flip the roles: charcoal as the surface, with yellow for primary actions and a lighter pink for secondary text. Check each pair in the preview before you commit.

    Branding With Yellow and Pink

    Yellow suggests energy and optimism, and pink suggests warmth, care and playfulness. Together they suit food, kids, beauty, events, stationery and creative studios. The pair is rarely used by serious financial or legal brands, so it can help a young brand stand out.

    For logos, use one color as the main brand color and the other as an accent, and always test a one-color version. A yellow-only logo on white struggles, so a dark outline or a charcoal wordmark with a small yellow or pink shape is usually safer. If your brand needs more edge, the black and yellow combination gives it a stronger, more graphic base.

    Pick a leader

    Choose which color is the brand color and which is the accent before designing. A 70/30 split looks intentional, while a 50/50 split often looks like a mistake.

    I worked on a small bakery identity where the owner loved both colors equally. We made pink the packaging color and kept yellow for stickers, ribbons and price tags. It was simple, and the shelf looked organized instead of noisy.

    Yellow and Pink at Home and in Fashion

    In interiors, the pair works best in small, controlled doses. A pale pink wall with butter yellow cushions or a mustard chair feels warm and lived-in. Full-strength yellow walls next to bright pink can feel tiring in a room where you spend long hours, so keep the strong shades for accents such as a door, a rug or art. Add wood, white or soft grey to rest the eye.

    In fashion, the combination is a favorite for spring and summer. Pastel pink with butter yellow is gentle and works for knitwear and baby clothes. Hot pink with sunflower yellow is a statement. If you want it to feel smart, add a neutral such as navy, cream or tan, or lean on a blue partner like in the yellow and blue scheme.

    For weddings and events, soft pink, pale yellow and cream make an easy palette for flowers and stationery. Add a leaf green, like those in a green and white arrangement, and the pastels suddenly look fresh instead of sugary.

    Printing Yellow and Pink Without Surprises

    Screens glow and paper reflects, so the same colors look different in print. Pure yellow is a screen color, and in CMYK it becomes 100% yellow, which is bright but flatter than what you see on a monitor. Pink in CMYK is a light tint of magenta and yellow, around 0, 25, 20, 0 by a simple conversion, and it can look more beige or peach on uncoated paper.

    Two panels compare yellow and pink as screen HEX codes and as CMYK print values, with arrows showing the shift
    Yellow and pink lose their glow in CMYK, so proof on real paper before printing.

    Light pinks are the most sensitive. A small shift in ink can turn a gentle pink into a salmon tone. I once received a proof of a pastel invitation where the pink looked noticeably warmer than on screen, and the fix was to reduce the yellow in the mix and request a physical proof before the full run.

    A few habits help:

    1. Convert to CMYK early and design from the converted values.
    2. Ask the printer for a proof on the actual paper.
    3. Use a spot color (such as Pantone) for brand-critical pinks or yellows.
    4. Keep body text in dark ink, never in light pink or yellow.

    Yellow to Pink Gradients That Stay Clean

    A yellow to pink gradient is simple to make and looks good if you keep it light. The midpoint between and is roughly , a warm golden peach. Because both ends are warm, the middle does not turn grey.

    .hero {
      background: linear-gradient(135deg, #FFF9C2 0%, #FFE08A 35%, #FFB69E 65%, #FF8FA3 100%);
    }

    Keep text away from the transitional zone unless it is very dark. If you want a cooler contrast, a cyan accent works nicely, and you can see how light cyan backgrounds are built on the cyan gradient page. For smoother transitions, add one extra stop in peach or apricot rather than jumping straight between the two ends.

    Four Yellow and Pink Palettes You Can Copy

    Each palette below uses five codes, with at least one dark or neutral color so text stays readable. Start with Lemonade Stand if you want a safe, friendly look, Sorbet Shop if you need more punch, and Paper Daisy if you want calm. Sunset Fade is for gradients and illustration.

    Lemonade Stand

    Friendly food brands, cafe menus, social posts and party invitations.

    Sorbet Shop

    Bold packaging and landing pages that need a lively, modern feel.

    Paper Daisy

    Soft stationery, nursery walls and calm editorial layouts.

    Sunset Fade

    Hero gradients, story backgrounds and warm illustration work.

    Whichever you choose, test one real screen: the main button, the body text and one small caption. If all three pass, the rest of the design will fall into place.

    Shades that keep this combination working

    Yellow and Pink Color Palette: questions people ask

    What are the hex codes for yellow and pink?

    Pure yellow is #FFFF00 and the classic CSS pink is #FFC0CB. For softer, easier designs, try butter yellow #FFF2A8 with pastel pink #FFD1DC.

    Do yellow and pink go well together?

    Yes. They are both warm, sit about 70 degrees apart on the color wheel, and read as playful and optimistic. They work best when one color leads, a neutral separates them, and the lightness differs.

    What color do you get when you mix yellow and pink?

    With light on screen, mixing them gives a warm peach, around #FFE066 at the midpoint of #FFFF00 and #FFC0CB. With paint the result depends on the pigments, but a soft yellow plus pink usually lands on peach or coral.

    Can I put yellow text on a pink background?

    Not with pure values. Pure yellow on #FFC0CB measures about 1.43:1, far below the 4.5:1 WCAG minimum for normal text. Use dark text on either color instead.

    What colors go with yellow and pink?

    Cream, charcoal, soft grey and white are the safest partners. For more color, add a sky blue, mint green or a touch of orange or raspberry.

    Keep exploring