On this page
Below you will find the exact color values, contrast ratios I calculated, shade swaps for different moods, CSS, and notes on print, interiors, fashion and branding. The preview under the title shows the pair as background, text and button with a live contrast score, so you can see the trade-offs before you read on.
Pink and blue hex, RGB, HSL and CMYK values
Here are the base codes for both colors. The CMYK figures are plain mathematical conversions, which are fine for a first reference but not a substitute for a proper press profile.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| Pink | 255, 192, 203 | 350°, 100%, 88% | 0, 25, 20, 0 | |
| Blue | 0, 0, 255 | 240°, 100%, 50% | 100, 100, 0, 0 |
Both are standard web color names, so you can write pink and blue in CSS and get exactly these values. Pure blue is also the screen primary itself, with the red and green channels switched off and the blue channel at full strength. That is why it looks so intense next to almost anything.
What pink and blue look like together
Pink sits at a hue of about 350°, blue at 240°, so they are roughly 110° apart with purple in between. That distance is enough for real contrast but not enough to feel like a clash. The bigger difference is lightness: pink is very light, and pure blue is very dark in terms of perceived brightness. This gap is what makes the pair legible.
The mood depends on which one leads. A pink-dominant layout with blue accents feels sweet and a little retro. A blue-dominant layout with pink highlights feels cooler and more modern. Pure blue is saturated enough to vibrate against fine lines, so for calmer results try the pastel route in our pastel blue guide instead of full-strength .
Pink and blue contrast and WCAG checks
I worked these out with the WCAG relative luminance formula, so you can trust the numbers. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text.
- Blue on pink : about 5.6:1. Passes AA, misses AAA (7:1).
- Navy on pink: about 10.4:1. Passes AAA.
- Black on pink: about 13.7:1.
- White on blue : about 8.6:1.
- Pink text on white: about 1.5:1. Fails.
- Hot pink beside blue: about 3.2:1. Large text and icons only.
The lesson is that pink works as a surface, not as a text color. On one app project, a pink status tag with white text looked friendly in the mockup but measured about 1.5:1. Switching the label to navy fixed it without changing the tag’s look at all.
Which text color gives the strongest contrast on #FFC0CB pink?
Navy reaches about 10.4:1 on pink, while white manages only about 1.5:1.
Pink shades and blue shades that pair well
Pure is rarely the best partner for every use. Swapping in a nearby shade changes the mood while keeping the pairing recognisable.

Pinks to try
Light pink is a touch deeper and works well for section backgrounds. Hot pink and deep pink give you accent power for buttons and badges. For a quieter result, a pale blush such as feels closer to a nursery.
Blues to try
Royal blue keeps the confidence of blue with less glare. Baby blue and powder blue give the pastel look. For a minty, fresher direction, see aqua blue. When you need seriousness, navy anchors the whole scheme and is the best text color on pink.
Pink and blue palettes you can copy
Pick a ratio before you pick colors. A reliable starting point is 60% neutral or light pink, 30% blue and 10% accent. Here are three formulas I return to:
- Pastel pair: pink with baby blue and a cream base. Soft, friendly, low contrast.
- Pop pair: hot pink with dodger blue and navy text. Energetic and youthful.
- Ink pair: pale pink backgrounds, pure blue headings and navy body copy. Crisp and graphic.
The palettes below apply these ideas with complete five-color sets. Copy the codes straight into your design tool.
Playful brands, party invitations, social posts and kids' product packaging.
Bold web hero sections where navy text keeps pink backgrounds readable.
Baby rooms, gentle stationery and calm wedding suites with a quiet mood.
Retro posters, gaming interfaces and music flyers with strong contrast.
Using pink and blue in web and UI design
Treat pink as a surface and blue as an action color. Pink cards, banners or page backgrounds give you warmth, and blue links and buttons draw the eye. Because the pair already has strong contrast, keep the rest of the interface neutral: cream, white and a dark navy for text.
Here is a minimal set of CSS variables that passes the checks above:
:root {
--pink: #FFC0CB;
--blue: #0000FF;
--navy: #000080;
--cream: #FFF8F0;
}
body { background: var(--cream); color: var(--navy); }
.banner { background: var(--pink); color: var(--navy); }
.button { background: var(--blue); color: #fff; }
.link { color: var(--blue); }
Check hover and focus states too. A pink focus ring on a pink background disappears, so use a navy or blue outline there instead.
Pink and blue in branding
Pink and blue is a friendly, approachable signal, which is why it shows up in ice cream, confectionery, beauty, children’s products and playful tech. Baskin-Robbins is a familiar example, pairing the two in its logo. The combination suits brands that want to feel fun without being childish, as long as the blue is deep enough to carry some authority.
For a more grown-up identity, push the pink darker and the blue toward navy. A rich magenta-leaning pink with a deep blue feels fashion-led, and the principles in our black and dark pink guide apply when you add a dark neutral. If you need a sharper, more technical tone, bring in the cool dark of blue and black for text and footers.
Choose one hero color per layout. When pink and blue share equal space, both fight for attention and the design feels busy.
Pink and blue for interiors and fashion
In a room, pink and blue read more calmly than they do on a screen. Powder blue walls with blush pink textiles feel airy, and a navy sofa with pink cushions feels crisp. Warm neutrals tie it together: oak, linen and the earthy tones in a beige and brown scheme stop the pastel mix from feeling too sweet.
In fashion, pink and blue work as a bold pairing or a soft one. A pink shirt under a navy jacket is a classic menswear move, and the logic is the same as in navy blue and white: navy supplies the structure while pink supplies the surprise. Bright cobalt with pink is louder and suits accessories, not whole outfits.
How pink and blue behave in print
Pink prints reliably. At 0, 25, 20, 0 it is a light tint of magenta and yellow, and small shifts in the press only change its warmth slightly. Pure blue is the trouble. is outside the range CMYK inks can reproduce, so it converts to a deeper, slightly purple blue.
What usually happens to pure #0000FF when it is converted to CMYK?
Screen blue is more saturated than CMYK inks can reproduce, so the printed result is darker and a little purple.
I learned this on a brochure proof where the screen blue I had approved came back noticeably darker and more violet than expected. We fixed it by choosing a blue that exists in CMYK, such as royal blue , and checking the proof before approving the run. If exact blue matters for a brand, ask the printer about a spot ink.
Try this: Place and side by side in your design tool, then export a CMYK PDF. Compare the blue on screen with the converted preview, and pick a swap such as if the shift bothers you.
Why pink and blue mean more than baby gender
The best-known association is gender coding, but its history is more tangled than most people expect. A 1918 trade publication in the United States reportedly recommended pink for boys and blue for girls, and the convention flipped to its modern form around the mid twentieth century. That means the pairing owes more to marketing than to nature.

More recent meanings are about identity and softness. In 2016, Pantone named Rose Quartz and Serenity, a pink and a periwinkle blue, as its joint Color of the Year, pitching them as a calm, blended pair. The transgender pride flag, designed by Monica Helms, uses light blue, pink and white. These associations are worth knowing before you use the pair in a campaign.
Related color pairs to try next
If pink and blue feel too sweet, add depth with a third color. Lavender bridges the gap between them, and the bolder mix in red, blue and purple shows how far you can push saturation before the palette turns loud.
If you want to move pink toward the warm end, the red and magenta pairing is a natural neighbor. Keep a neutral nearby, whether cream, white or soft grey, so the colors have room to breathe.
Shades that keep this combination working
Pink and Blue Color Palette: questions people ask
What is the hex code for pink and blue?
The CSS named pink is #FFC0CB and the CSS named blue is #0000FF. For softer pairings, swap in baby blue #89CFF0 or royal blue #4169E1.
Do pink and blue go together?
Yes. They sit about 110 degrees apart on the color wheel, which gives clear contrast without a harsh clash. Let one color dominate and use the other as an accent, and the pair looks deliberate.
Is blue text on pink readable?
Pure blue #0000FF on pink #FFC0CB measures about 5.6:1, which passes WCAG AA for normal text. Navy #000080 on the same pink reaches about 10.4:1 and also passes AAA.
What color do pink and blue make?
Mixed as light, they move toward purple or lavender, and mixed as paint they give a muted violet. In design the in-between hues are useful bridges, such as lavender #C9B8D6.
What other colors go with pink and blue?
Cream, white, navy, soft grey and warm beige are the safest partners. Yellow or lavender adds energy if you keep it to a small accent.
Keep exploring
- Pink and Purple Color Combination: Palettes and Hex Codes
- Orange and Black Color Scheme: Palettes and Hex Codes
- Black and Grey Color Combination: Palettes and Hex Codes
- Yellow and Blue Color Scheme: Palettes and Hex Codes
- Orange and Brown Color Combination: Palettes and Hex Codes
- Brown and Black Color Palette: Combinations and Hex Codes
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes