Skip to main content

Raspberry

#E30B5C·red family·WCAG AA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Raspberry (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#E30B5C
RGB
rgb(227, 11, 92)
HSL
hsl(338, 91%, 47%)
OKLCH
oklch(0.588 0.232 10)
CMYK
cmyk(0%, 95%, 59%, 11%)
Luminance:0.1734
CSS var:--color-raspberry
Tailwind:bg-[#E30B5C]

Accessibility

Score: 39/100

On White (#FFF)

4.7:1

AA

On Black (#000)

4.47:1

AA Large

On Light Gray (#F5F5F5)

4.31:1

AA Large

Best text color on this background:

white4.70:1
Open in Contrast Checker →

Design Applications

Background

background-color: #E30B5C

Text Color

color: #E30B5C

bg-[#E30B5C] text-[#FFFFFF]

Accent border card component

border-left: 4px solid #E30B5C

Color Meaning & Psychology

Red is the most emotionally intense color in the spectrum. It stimulates the nervous system, accelerates respiration, and increases heart rate. Red commands attention through associations with blood, fire, danger, and passion — making it the dominant choice for warnings, calls-to-action, and brand identities that must stand out instantly. In food culture, red stimulates appetite. In romance, it signals desire. In sport, studies show red-clad competitors win more often. However, overuse creates aggression. The most effective red designs use it sparingly as a focal accent. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.

Industry Usage

Common contexts and industries where Raspberry is applied in professional design.

  • Emergency alerts and warning systems
  • Food and beverage brands (appetite stimulation)
  • Sports teams and athletic wear
  • Calls-to-action and "Buy Now" buttons
  • Pharmaceutical packaging for urgent medications
  • Entertainment and gaming brands
  • Automotive brands emphasizing power and performance
  • Retail sale and clearance signage

Accessibility Considerations

Normal Text

Passes AA

4.5:1 minimum required

Large Text

Passes AA Large

3:1 minimum required

UI Components

Meets 1.4.11

3:1 for non-text UI

Raspberry is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (4.70:1). Avoid small black text on this background.

CSS & Code Examples

Background

background-color: #E30B5C;

Text

color: #E30B5C;

Border

border: 2px solid #E30B5C;

Box Shadow

box-shadow: 0 4px 20px #E30B5C40;

Gradient

background: linear-gradient(135deg, #E30B5C, #ff5889);

Tailwind-style

--color-raspberry: #E30B5C;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Raspberry without a custom config.

Background

bg-[#E30B5C]

Text

text-[#E30B5C]

Border

border-[#E30B5C]

Ring

ring-[#E30B5C]

Fill

fill-[#E30B5C]

From (gradient)

from-[#E30B5C]

Via (gradient)

via-[#E30B5C]

To (gradient)

to-[#E30B5C]

Design Tokens

Ready-to-use Raspberry design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-raspberry: #E30B5C;
  --color-raspberry-rgb: 227, 11, 92;
  --color-raspberry-hsl: 338, 91%, 47%;
}

SCSS Variables

$color-raspberry: #E30B5C;
$color-raspberry-rgb: 227, 11, 92;
$color-raspberry-hsl: 338, 91%, 47%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'raspberry': '#E30B5C',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-raspberry: #E30B5C;
}

JSON Design Token (W3C format)

{
  "raspberry": {
    "value": "#E30B5C",
    "type": "color",
    "description": "Raspberry — #E30B5C"
  }
}

What Does Raspberry Mean? Color Psychology & Cultural Symbolism

Red-family hues occupy the long-wavelength end of the visible spectrum—the zone the human visual system evolved to associate with fire, ripe fruit, and blood. That ancient conditioning translates directly into the psychology of Raspberry: an immediate register of excitement, processed before conscious thought.

  • Across color psychology research, red consistently tests high for "energy" associations, making Raspberry a reliable vehicle for excitement in cross-demographic audiences.
  • Brand designers draw on red-family tones to project excitement and urgency—values that Raspberry communicates in a medium key.
  • At 91% saturation, Raspberry reads as vivid—Pure saturated reds are physiologically stimulating, triggering faster heart rate and heightened alertness—among the most attention-commanding tones in human visual perception.
  • Raspberry's medium lightness (47%) shifts its psychological register: a balanced mid-tone that embodies energy, passion, urgency, and power at its most direct.

For designers, Raspberry is a precision instrument: powerful in small doses, overwhelming at scale. Restraint is its best amplifier.

How to Use Raspberry in Design: Applications, Pairings & Best Practices

In digital interfaces, Raspberry functions as a high-attention accent rather than a dominant tone. Even at small proportions, its vivid saturation (91%) carries enough visual weight to direct the eye precisely where needed.

  • Avoid: financial dashboards (loss association), environmental brands (conflicts with green identity), and medical UIs where red exclusively signals critical alerts.
  • Color harmonies: Raspberry's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
  • Proportional use: Raspberry's vivid saturation (91%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
  • As a dark tone, Raspberry creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
  • Typography: Raspberry works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.

For designers, Raspberry is a precision instrument: powerful in small doses, overwhelming at scale. Restraint is its best amplifier.

Raspberry Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Raspberry (#E30B5C) reaches 4.70:1 contrast with white text—meeting WCAG 2.1 AA minimum of 4.5:1 for normal text and 3:1 for large text. It clears standard production accessibility requirements. Relative luminance: 17.3%.

  • As text on white (#FFFFFF): 4.70:1 — AA ✓
  • As text on black (#000000): 4.47:1 — AA (large text only)
  • Best text color on Raspberry background: White (#FFFFFF) at 4.70:1
  • WCAG 2.1 luminance: 17.3% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
  • Raspberry qualifies for normal body text and all larger sizes (AA).
  • Color blindness consideration: protanopia and deuteranopia (red-green color blindness, ~8% of males) may affect how red-family colors are distinguished from greens and browns. For critical UI states, supplement color alone with shape, label, or pattern cues.

Always verify Raspberry at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Raspberry in Industry: Branding, Design & Market Applications

Across industry research, red-family tones consistently outperform competitors in categories built on energy, passion, urgency, and power. Raspberry is a medium expression of this advantage—best positioned in Food & Beverage and adjacent markets.

  • Food & Beverage: Red stimulates appetite and accelerates purchase decisions. Fast food chains, hot sauce brands, and snack packaging use it deliberately because it increases caloric craving and speeds up decision-making at point of sale. (examples: Chipotle, Sweetgreen, Blue Bottle Coffee) Avoid in fine dining or health-food contexts where a slower, more mindful experience is the goal.
  • Retail & E-commerce: The "red sale tag" is a globally conditioned retail convention. Red signals scarcity and urgency, making it the universal shorthand for clearance events, limited-time offers, and price callouts. (examples: Shopify merchant sites, ASOS, H&M) Overuse exhausts the urgency signal—reserve it for genuinely time-limited promotions.
  • Sports & Entertainment: Red communicates competition, athletic energy, and tribal passion. From team jerseys to arena signage, it energizes crowds and aligns with the visceral intensity sports brands want to project. (examples: Disney+, Hulu, Netflix) Works best paired with black or white for maximum contrast and visual impact.
  • Brand positioning: Raspberry is best suited for brands projecting excitement, urgency, importance. Categories outside this positioning—financial dashboards (loss association)—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Raspberry works effectively in error states, notification badges, sports branding—contexts where energy serves a secondary but reinforcing role.

Raspberry earns its strongest ROI in industries where trust and recognition compound over time: Food & Beverage, Retail & E-commerce, Sports & Entertainment. Use it to build the kind of brand recognition that decades reinforce.

Frequently Asked Questions

What is the hex code for Raspberry?
The hex code for Raspberry is #E30B5C. Its RGB values are rgb(227, 11, 92) and its HSL values are hsl(338, 91%, 47%).
What does Raspberry mean in design?
Red is the most emotionally intense color in the spectrum. It stimulates the nervous system, accelerates respiration, and increases heart rate. Red commands attention through associations with blood, fire, danger, and passion — making it the dominant choice for warnings, calls-to-action, and brand identities that must stand out instantly. In food culture, red stimulates appetite. In romance, it signals desire. In sport, studies show red-clad competitors win more often. However, overuse creates aggression. The most effective red designs use it sparingly as a focal accent. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.
Is Raspberry WCAG accessible?
Raspberry (#E30B5C) passes WCAG AA on white with a 4.7:1 contrast ratio. Its overall accessibility score is 39/100.
What colors go well with Raspberry?
Raspberry pairs well with its complementary color Medium Spring Green (#00FA9A). Analogous colors like Palatinate Purple and Medium Violet Red also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Raspberry used for?
Raspberry is commonly used for: Emergency alerts and warning systems; Food and beverage brands (appetite stimulation); Sports teams and athletic wear; Calls-to-action and "Buy Now" buttons; Pharmaceutical packaging for urgent medications.
What are the CSS and Tailwind values for Raspberry?
In CSS, use `color: #E30B5C` or `background-color: #E30B5C`. The CSS custom property is `--color-raspberry: #E30B5C`. In Tailwind CSS, use the arbitrary value class `bg-[#E30B5C]` for backgrounds or `text-[#E30B5C]` for text.