Raspberry Color Palette
Raspberry is hex #E30B5C, rgb(227, 11, 92). Raspberry is a deep, slightly purple red-pink. It is more grown-up than hot pink and warmer than magenta.
By Mohamed Farhan · Updated Oct 19, 2026
Raspberry color codes
Reading the raspberry color codes
The hex code #E30B5C is three pairs of base-16 numbers for red, green and blue. E3 is 227, 0B is 11 and 5C is 92, each on a scale from 0 to 255. That is why the same color is written rgb(227, 11, 92) in CSS. The red channel is the strongest here, which is what gives raspberry its red character.
HSL describes the same color the way people think about it. A hue of 338 degrees places raspberry in the red part of the color wheel. Saturation of 91% makes it vivid, and lightness of 47% makes it a mid-tone color. HSL is the easiest format to adjust by hand: keep the hue, then raise or lower lightness to create tints and shades that stay in the same family.
For print, the approximate CMYK mix is 0% cyan, 95% magenta, 59% yellow and 11% black. Screen and print colors never match perfectly, because monitors emit light while ink absorbs it, so always proof a printed sample before committing to raspberry for packaging or stationery. See MDN's guide to CSS color values for every format browsers accept.
Raspberry shades and tints
A full 50 to 950 scale built around #E30B5C, so you can use raspberry for backgrounds, borders, buttons and text without leaving the family. Click any shade to copy it.
// tailwind.config.js
theme: {
extend: {
colors: {
"raspberry": {
50: "#FAD4E2",
100: "#F6B2CC",
200: "#F291B5",
300: "#EF6F9F",
400: "#EB4E89",
500: "#E72C72",
600: "#E30B5C",
700: "#BF094D",
800: "#9A073F",
900: "#760530",
950: "#510421",
},
},
},
}:root {
--raspberry-50: #FAD4E2;
--raspberry-100: #F6B2CC;
--raspberry-200: #F291B5;
--raspberry-300: #EF6F9F;
--raspberry-400: #EB4E89;
--raspberry-500: #E72C72;
--raspberry-600: #E30B5C;
--raspberry-700: #BF094D;
--raspberry-800: #9A073F;
--raspberry-900: #760530;
--raspberry-950: #510421;
}A shade-by-shade guide to raspberry
The 50 to 950 scale above follows the same structure as Tailwind's built-in palettes, so each step has a natural job. The lightest steps, 50 (#FAD4E2) and 100 (#F6B2CC), are page and card backgrounds: they carry the raspberry mood without competing with content. Steps 200 (#F291B5) and 300 (#EF6F9F) suit borders, dividers, hover states and selected rows.
The middle of the scale, 400 to 600, is where raspberry is most recognizable, so use it for brand moments, illustrations and primary buttons. White text reaches the 4.5:1 body-text contrast minimum from step 600 upward, so use step 600 or darker when a button label needs to be white. Near-black text stays readable on steps 50 to 400.
The darkest steps, 800 (#9A073F) through 950 (#510421), make headings, body text and dark-mode surfaces that stay clearly related to raspberry. Using step 900 or 950 for text instead of pure black is one of the simplest ways to make an interface feel designed rather than default.
Colors that go with raspberry
How the raspberry color combinations work
Complementary. Directly across the color wheel from raspberry is #0BE392, which sits closest to jade among common named colors. Complementary pairs create the strongest contrast of hue, so use the second color sparingly, for a single call to action or highlight, rather than in equal amounts.
Analogous. #E30BC8 and #E3260B sit 30 degrees either side of raspberry. Analogous palettes feel calm and cohesive because the colors share undertones; they are ideal for illustrations, gradients and backgrounds where you want harmony more than contrast.
Triadic and split complementary. The triadic set (#5CE30B and #0B5CE3) is evenly spaced around the wheel and feels playful; the second color is closest to chartreuse. The split complementary set (#0BE326 and #0BC8E3) keeps much of the complementary contrast but is easier to balance, which makes it a good choice for data visualization and multi-category tags.
Monochromatic. The monochromatic set runs from #FA8DB6 to #5B0425. A single-hue palette is the safest way to build a calm, premium interface: rely on lightness for hierarchy, then add one neutral and one accent if you need emphasis.
Raspberry compared with similar colors
folly (#FF004F) is about as light and more saturated, and shares almost the same hue. Choose folly if you want a softer, airier version; choose raspberry if you want its specific balance of brightness and color.
crimson (#DC143C) is about as light and more muted, and leans further around the wheel toward red. Choose crimson if you want a softer, airier version; choose raspberry if you want its specific balance of brightness and color.
brick red (#CB4154) is lighter (53% vs 47% lightness) and more muted, and leans further around the wheel toward red. Choose brick red if you want a softer, airier version; choose raspberry if you want its specific balance of brightness and color.
Raspberry in a real interface
Swatches only tell half the story. Here raspberry carries the primary action, with tints from its own scale for the surface and panels.
Weekly summary
Revenue grew 12% this week. Three invoices are waiting for approval.
Using raspberry in UI: buttons, text, backgrounds and dark mode
- Buttons. Raspberry carries white labels at 4.7:1, which passes AA for normal text.
- Text. Raspberry works as text on white backgrounds.
- Backgrounds. Use steps 50 and 100 for large areas and keep the base color for smaller surfaces. Big blocks of a vivid mid-tone color draw attention, so give them a reason, like a hero section or pricing highlight.
- Dark mode. Steps 900 and 950 make a dark surface tinted with raspberry. On dark backgrounds the base color often needs a lighter step (300 or 400) to keep enough contrast for icons and borders, as required by WCAG non-text contrast.
- States. Shift one step darker for hover and two steps darker for pressed. Keep focus rings in a contrasting color so keyboard users can always see them.
Contrast and accessibility
AA needs 4.5:1 for body text and 3:1 for large text. AAA needs 7:1.
Color contrast is measured as a ratio from 1:1 (no contrast) to 21:1 (black on white). Raspberry scores 4.7:1 against white (AA) and 4.47:1 against black (AA large). The WCAG 2.1 contrast guideline asks for at least 4.5:1 for normal text and 3:1 for large text, which is why the shade guide above recommends specific steps for text and labels.
Contrast is only half of accessibility. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency, so never use raspberry alone to signal meaning such as success, error or selection. Pair it with an icon, a label or a change in weight.
What raspberry means
Pink ranges from tender and nostalgic (blush, dusty rose) to loud and confident (hot pink). It reads as warm, playful and approachable.
Raspberry is named after the fruit's deep red-pink. It sits between red and pink and is a common color for confectionery, beauty and retail promotions.
Soft pinks work as surface tints and highlights; bold pinks work as a single accent. Avoid pink for error states unless it is clearly a red.
Where raspberry works best
- Food and beverage
- Beauty
- Fashion
- Retail sale highlights
How to style raspberry
Raspberry pairs with navy, cream, peach and charcoal. It supports white text in buttons. Use it as a warm alternative to red for sales and highlights, keeping true red for errors.
Build a UI with raspberry
Inspo AI generates a full React + Tailwind screen using #E30B5C as the brand color, grounded in real shipped designs.
Sources and further reading
- Wikipedia: Raspberry · History and definition of raspberry.
- WCAG 2.1: Contrast (Minimum) · The W3C rule behind the 4.5:1 and 3:1 thresholds used on this page.
- WCAG 2.1: Use of Color · Why color should never be the only way information is shown.
- MDN: CSS color values · Reference for hex, rgb() and hsl() syntax.
- Tailwind CSS: Customizing colors · How to add a custom color scale to your theme.
Similar colors
Questions people ask
What is the hex code for raspberry?
The hex code for raspberry used on this page is #E30B5C. In RGB that is rgb(227, 11, 92), and in HSL it is hsl(338, 91%, 47%).
What colors go well with raspberry?
Raspberry pairs well with #8A0636, #FFF0F4, #2B2D42 (the Berry Jam palette above). Its complementary color is #0BE392, and analogous colors are #E30BC8 and #E3260B.
Is raspberry a warm or cool color?
Raspberry is a warm color. Its hue sits at 338 degrees on the color wheel with 91% saturation.
Can I use raspberry for text?
Raspberry has a contrast ratio of 4.7:1 against white and 4.47:1 against black. Body text needs at least 4.5:1, so it works as text on white backgrounds.
What does raspberry mean?
Pink ranges from tender and nostalgic (blush, dusty rose) to loud and confident (hot pink). It reads as warm, playful and approachable. Raspberry in particular is used for food and beverage and beauty.
How do I use raspberry in Tailwind CSS?
Use an arbitrary value like bg-[#E30B5C] for a one-off, or add the 50-950 scale from this page to theme.extend.colors in tailwind.config.js and use classes like bg-raspberry-500 and text-raspberry-900.

↘ Building Inspo AI | AI-Powered Design Research & Builder Platform | Design Engineer.