PreviewingGo to this paletteOpen in generator
Code
/* Raspberry Crimson — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #E02951;
--color-3: #E43E66;
--color-4: #E8537B;
--color-5: #EC6890;
--color-bg: #FFF3F6;
--color-surface: #FAE8EC;
--color-border: #E4CED3;
--color-text: #7A3A3B;
--color-muted: #816362;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #C94872;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #C49BA4;
--color-muted: #9A7B82;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #EC6890;
--color-on-accent: #1C0909;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #EC6890 | adjusted for contrast · from #DC143C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | adjusted for contrast · from #EC6890 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E43E66 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.61:1 | AA pass 3:1 | |
| Accent on background | 4.17:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 6.36:1 | AA pass 4.5:1 | |
| Primary on background | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 6.36:1 | AA pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #DC143C (Text 1) | #E02951 (Text 2) | #E43E66 (Text 3) | #E8537B (Text 4) | #EC6890 (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.09— | 1.23— | 1.41— | 1.65— |
| #E02951 | 1.09— | Same color | 1.12— | 1.29— | 1.51— |
| #E43E66 | 1.23— | 1.12— | Same color | 1.15— | 1.34— |
| #E8537B | 1.41— | 1.29— | 1.15— | Same color | 1.17— |
| #EC6890 | 1.65— | 1.51— | 1.34— | 1.17— | Same color |
Shades
Shades and tints (50–950)
