Palette maker

Pastel Rainbow Color Palette: Hex Codes, RGB and Ideas

A pastel rainbow is the familiar spectrum washed with white: red, orange, yellow, green and blue. All five sit between 80% and 87% lightness, which keeps them soft but still clearly different from one another.

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. Basics
    2. Color codes
    3. Close colors
    4. Adding violet
    5. Contrast
    6. CSS
    7. Uses
    8. Printing
    9. Palettes
    10. Make your own
    11. FAQ

    The strip above lets you copy each code and test text on it, and the contrast score is worth a look before you commit. I have used this exact set on onboarding screens, packaging mockups and a children’s brand, and the pattern never changes: these colors are easy to love and easy to misuse. This page gives you the exact values, the accessibility numbers and the fixes.

    What Makes a Rainbow Pastel

    A pastel is a pure hue lightened with white. The first color, , is pure red () mixed with roughly 68% white, and the other four follow the same logic. In HSL all five show 100% saturation, which surprises people, but at 80 to 87% lightness that number no longer means intense. In HSV the picture is more intuitive: saturation falls between 25% and 39% while brightness stays at 100%.

    The name comes from the art material. Pastel sticks historically had lower saturation than paints of the same pigment, and the color family inherited the word. There is no official listing of hex codes for pastels, so every pastel rainbow you meet online is a slightly different recipe. This one leans bright, with a minty green and an icy blue at the cool end.

    Pastel Rainbow Hex, RGB, HSL and CMYK Codes

    Every value below is calculated directly from the hex code. The CMYK column is the plain mathematical conversion, a handy starting point but not a press-ready recipe (more on that in the print section).

    Name HEX RGB HSL CMYK
    Pastel Red 255, 173, 173 0°, 100%, 84% 0, 32, 32, 0
    Pastel Orange 255, 214, 165 33°, 100%, 82% 0, 16, 35, 0
    Pastel Yellow 253, 255, 182 62°, 100%, 86% 1, 0, 29, 0
    Pastel Green 202, 255, 191 110°, 100%, 87% 21, 0, 25, 0
    Pastel Blue 155, 246, 255 185°, 100%, 80% 39, 4, 0, 0

    Look at the RGB column. The red channel stays at 253 or 255 through yellow, then drops as the palette turns cool, but the lowest channel never falls below 155. That floor is the pastel signature: no channel is ever dark, so nothing in the set can look heavy.

    How Each Pastel Differs From Its Nearest Cousin

    Pastels blur into their neighbors easily, so it helps to know exactly where each one sits.

    • Pastel red (hue 0°) is a warm coral-salmon. A pastel pink such as leans toward purple, which this red never does.
    • Pastel orange (33°) reads as peach or apricot, because it is a touch yellower than a classic orange.
    • Pastel yellow (62°) sits just past pure yellow toward green, so it looks like lemon sherbet rather than warm cream.
    • Pastel green (110°) is a yellow-leaning honeydew, not a blue-green seafoam.
    • Pastel blue (185°) is an icy aqua. The baby blue of nurseries sits further along, like at 217°.

    Notice the gap: nothing in the set lives between 185° and 360°. That stretch is the violet end of the rainbow, and the five-color version leaves it out.

    Adding Violet: From Five Pastels to Seven

    Five pastels are a spectrum cut short. To complete it, add pastel periwinkle (217°), pastel violet (249°) and pastel pink (300°). The traditional rainbow has seven colors, remembered by the acronym ROYGBIV, and these three give you the blue, indigo and violet end in soft form. Ending on pink also lets the arc loop back toward red, which helps in circular charts and wrap-around gradients.

    Which band is missing from the five-color pastel rainbow?

    The five codes stop at a cyan-leaning blue (185°), so the violet end of the spectrum has to be added, for example with #BDB2FF.

    Pastel violet pairs well with deeper purples and teals when a design needs weight, as in these teal and purple combinations. If you want the opposite mood, the loud cousin of this hue is covered under neon purple.

    Flag with five pastel rainbow stripes and three dotted extra stripes in periwinkle, violet and pink, each labeled with its hex code
    Five pastels stop at 185°; three more stripes carry the flag on to violet and pink.

    Pastel Rainbow Contrast and WCAG, Checked

    WCAG asks for 4.5:1 for normal text and 3:1 for large text and for interface parts such as borders and icons. I calculated each pastel against white and against near-black . Because pastels are light, only dark text works on them.

    • Pastel red : 1.77:1 on white, 9.81:1 with
    • Pastel orange : 1.36:1 on white, 12.77:1 with
    • Pastel yellow : 1.04:1 on white, 16.71:1 with
    • Pastel green : 1.13:1 on white, 15.39:1 with
    • Pastel blue : 1.23:1 on white, 14.11:1 with

    As backgrounds with dark text, all five clear even the 7:1 AAA level. As text, icons or borders on white, all five fail, even the 3:1 bar. They also barely separate from each other: beside is only 1.09:1, and beside is 1.52:1.

    Which text color is safest on pastel yellow #FDFFB6?

    Near black reaches about 16.71:1 on #FDFFB6, while white manages only about 1.04:1.

    So never let color alone carry meaning. On a dashboard project, status chips in these pastels looked ghostly until I switched the label from mid-grey to near-black and added a thin darker outline; the fix took ten minutes and the client’s support tickets about “faded labels” stopped. For stricter needs, see high contrast color palettes.

    CSS for a Pastel Rainbow: Variables and Gradients

    Custom properties keep the five codes in one place and make dark text a deliberate choice rather than an afterthought.

    :root {
      --pastel-red: #FFADAD;
      --pastel-orange: #FFD6A5;
      --pastel-yellow: #FDFFB6;
      --pastel-green: #CAFFBF;
      --pastel-blue: #9BF6FF;
      --ink: #1A1A1A;
    }
    .badge {
      background: var(--pastel-green);
      color: var(--ink);
      border: 1px solid rgb(0 0 0 / 20%);
    }

    For a gradient, list the stops in order. Because the five colors are close in lightness, even a plain sRGB blend stays clean. Modern browsers also let you interpolate in OKLCH, which can keep mid-points livelier, so keep the plain line as a fallback.

    .hero {
      background: linear-gradient(90deg, #FFADAD, #FFD6A5, #FDFFB6, #CAFFBF, #9BF6FF);
      background: linear-gradient(in oklch 90deg, #FFADAD, #FFD6A5, #FDFFB6, #CAFFBF, #9BF6FF);
    }

    Put headline text in on top. Any text that has to sit over the whole gradient will pass at every point, since the lowest ratio in the set is 9.81:1.

    Where a Pastel Rainbow Works Best

    Pastels behave differently depending on the surface they land on, so here is how they hold up in each setting.

    Horizontal bar split 60/30/10 into off-white, pastel blue and pastel red, with an app screen and a room using the same split
    Keep most of the surface off-white, add one pastel as support and one as a small accent.

    Web and UI

    Use them as surfaces: card backgrounds, tags, calendar categories, empty-state illustrations and chart fills with direct labels. Keep text near black and give each tinted surface a thin border in a darker shade of its hue. In dark mode the roles flip: on the pastels become bright accents with ratios above 9:1.

    Branding and packaging

    A pastel rainbow signals friendly and light, which suits children’s products, bakeries, wellness and creative tools. The risk is sweetness, so anchor the set with a strong dark wordmark. When a brand needs more punch, push the saturation toward tropical colors.

    Interiors and fashion

    Pastels were part of 1940s and 50s interior design, and they are valued in fashion because they match with many other colors. On walls, these codes are strong at full-room scale, so use one as an accent and keep the rest off-white. For an earthier retro contrast, compare the 70s color palette, and for a seasonal spring mood see March colors.

    In illustration, pastel rainbows are a fast way to color flat shapes, as long as the linework stays dark so forms hold together. For soft sky blends, dusk colors show how pastel pinks and blues meet at twilight.

    Printing a Pastel Rainbow Without Losing the Glow

    Pastels print with very small ink percentages, so dot gain and paper tone shift them more than you would expect. The cool end is the hardest: is a bright cyan-leaning tint, and bright cyans sit near the edge of what CMYK can reproduce. On a stationery job, the blue came back duller and slightly greener than my screen, and only a physical proof caught it before the full run.

    Warm pastels such as and usually translate more faithfully. If a color is critical to a brand, ask the printer about a spot ink match instead of relying on the conversions in the table above.

    Proof before you print

    Screens glow and paper reflects, so approve a physical proof on the actual stock, and view it in daylight, not under office lighting.

    Four Pastel Rainbow Palettes You Can Copy

    Each palette below keeps the 80 to 87% lightness range, so the colors feel like one family. Candy Spectrum is the original five. Sorbet Arc skips two bands to reach violet and pink, while Cloud Nine drops the warm yellows and greens for a dreamier, cooler mood.

    Candy Spectrum

    The core five in order, good for badges, charts and playful landing sections.

    Sorbet Arc

    A lighter run that reaches violet and pink, made for soft gradients and headers.

    Ink and Cream

    Pastels with an off-white and a dark ink, built for readable app interfaces.

    Cloud Nine

    A cooler, dreamier mix for nursery walls, wedding stationery and gentle social posts.

    Ink and Cream is the practical one for interfaces: it pairs three pastels with a soft white and a dark navy for text, and reaches 7.60:1 on and 10.93:1 on .

    Try this: Set as a background and type a paragraph in . Then change the text to and watch the contrast score collapse. Keep whichever pair you can still read at arm’s length.

    How to Build Your Own Pastel Rainbow

    Pick hues at even steps around the wheel (every 30 to 50 degrees works), then set each one to the same lightness band, roughly 80 to 87% in HSL. Keeping lightness within about seven points is why the five codes here feel matched. If a color looks dull or sickly, nudge its hue a few degrees rather than changing its lightness.

    Finish by choosing two partners: a soft white like for the canvas and one dark ink for text and outlines. Then run every text and background pair through a contrast checker. A pastel rainbow with no dark anchor looks washed out, and one dark color is usually all it takes.

    Every color in this palette

    Pastel Rainbow Color Palette with Hex Codes: questions people ask

    What are the hex codes for a pastel rainbow?

    A clean five-color version is #FFADAD (red), #FFD6A5 (orange), #FDFFB6 (yellow), #CAFFBF (green) and #9BF6FF (blue). Add #A0C4FF, #BDB2FF and #FFC6FF if you want periwinkle, violet and pink to complete the arc.

    How many colors are in a pastel rainbow?

    A classic rainbow has seven bands (red, orange, yellow, green, blue, indigo, violet), so a full pastel rainbow has seven too. Many palettes use only five and drop the indigo and violet end.

    Can I use pastel rainbow colors for text?

    Not on a white background. Against white these five pastels score between 1.04:1 and 1.77:1, far below the 4.5:1 WCAG asks for. Use them as backgrounds with near-black text instead.

    What colors go well with a pastel rainbow?

    Soft white (#FFFFFC) keeps things airy, and a dark ink such as #2B2D42 or #1A1A1A supplies readable text and outlines. One deeper accent, like a navy or plum, stops the set from looking washed out.

    How do I turn any color into a pastel?

    Mix it with white, or raise its HSL lightness to roughly 80 to 87% while keeping the hue. Check the result in a contrast tool, because lighter colors always need darker text.

    Keep exploring