PreviewingGo to this paletteOpen in generator
Code
/* Cerise Pink — colorset.net */
:root {
--color-1: #DE3163;
--color-2: #E5447E;
--color-3: #F06292;
--color-4: #F48FB1;
--color-5: #F8BBD0;
--color-bg: #FFF3F7;
--color-surface: #F9E8EE;
--color-border: #E3CED5;
--color-text: #783844;
--color-muted: #806266;
--color-primary: #DA2D60;
--color-on-primary: #FFFFFF;
--color-accent: #AF778B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080C;
--color-surface: #271216;
--color-border: #3F2529;
--color-text: #EBC2D0;
--color-muted: #977983;
--color-primary: #DA2D60;
--color-on-primary: #FFFFFF;
--color-accent: #F48FB1;
--color-on-accent: #1C080C;
}
}
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 #F8BBD0 | adjusted for contrast · from #DE3163 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DE3163 | adjusted for contrast · from #F8BBD0 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DE3163 | adjusted for contrast · from #DE3163 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F06292 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.08:1 | AAA pass 4.5:1 | |
| Text on surface | 11.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 8.64:1 | AAA pass 4.5:1 | |
| Primary on background | 4.15:1 | AA Large pass 3:1 | |
| Accent on background | 8.64:1 | AAA 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 | #DE3163 (Text 1) | #E5447E (Text 2) | #F06292 (Text 3) | #F48FB1 (Text 4) | #F8BBD0 (Text 5) |
|---|---|---|---|---|---|
| #DE3163 | Same color | 1.16— | 1.45— | 1.99— | 2.75— |
| #E5447E | 1.16— | Same color | 1.26— | 1.72— | 2.38— |
| #F06292 | 1.45— | 1.26— | Same color | 1.37— | 1.89— |
| #F48FB1 | 1.99— | 1.72— | 1.37— | Same color | 1.38— |
| #F8BBD0 | 2.75— | 2.38— | 1.89— | 1.38— | Same color |
Shades
Shades and tints (50–950)
