Raspberry Color Palette
Raspberry Color Palette built around #E30B5C, a dark warm pink anchor (WCAG contrast 4.47:1 against black). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #FFB1BD | |
| surface | #3CB286 | |
| text | #85002D | |
| text-muted | #E30B5C | |
| primary | #E30B5C | |
| secondary | #3CB286 | |
| accent | #EA3D6B |
CSS variables
:root {
--background: #ffb1bd;
--surface: #3cb286;
--text: #85002d;
--text-muted: #e30b5c;
--primary: #e30b5c;
--secondary: #3cb286;
--accent: #ea3d6b;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #E30B5C | #FFB1BD | #85002D | #3CB286 | #EA3D6B |
|---|---|---|---|---|---|
| #E30B5C | 1.0 | 2.8 | 2.2 | 1.8 | 1.2 |
| #FFB1BD | 2.8 | 1.0 | 6.0 | 1.6 | 2.3 |
| #85002D | 2.2 | 6.0 | 1.0 | 3.9 | 2.6 |
| #3CB286 | 1.8 | 1.6 | 3.9 | 1.0 | 1.5 |
| #EA3D6B | 1.2 | 2.3 | 2.6 | 1.5 | 1.0 |
Under deuteranopia
Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.
Colors in this palette
Similar palettes
FAQ
How do I use the raspberry color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #E30B5C, #FFB1BD, #85002D, #3CB286, #EA3D6B.
Do these colors pass accessibility checks?
See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.