PreviewingGo to this paletteOpen in generator
Code
/* Carnation Pink — colorset.net */
:root {
--color-1: #FFE4E1;
--color-2: #FFCCCB;
--color-3: #FFB6C1;
--color-4: #FF69B4;
--color-5: #FF1493;
--color-bg: #FFE4E1;
--color-surface: #FFEEEC;
--color-border: #E9CAC7;
--color-text: #74374F;
--color-muted: #7D606A;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #98807D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0810;
--color-surface: #26121A;
--color-border: #3E252E;
--color-text: #FFE4E1;
--color-muted: #977F7C;
--color-primary: #E20081;
--color-on-primary: #FFFFFF;
--color-accent: #FFCCCB;
--color-on-accent: #1B0810;
}
}
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 | from palette · color 1 | adjusted for contrast · from #FF1493 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF1493 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF1493 | adjusted for contrast · from #FF1493 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF69B4 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.26:1 | AAA pass 4.5:1 | |
| Text on surface | 7.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.83:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.01:1 | AAA pass 4.5:1 | |
| Text on surface | 14.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 13.55:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 13.55: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 | #FFE4E1 (Text 1) | #FFCCCB (Text 2) | #FFB6C1 (Text 3) | #FF69B4 (Text 4) | #FF1493 (Text 5) |
|---|---|---|---|---|---|
| #FFE4E1 | Same color | 1.18— | 1.37— | 2.20— | 3.02AA Large |
| #FFCCCB | 1.18— | Same color | 1.16— | 1.86— | 2.56— |
| #FFB6C1 | 1.37— | 1.16— | Same color | 1.60— | 2.20— |
| #FF69B4 | 2.20— | 1.86— | 1.60— | Same color | 1.37— |
| #FF1493 | 3.02AA Large | 2.56— | 2.20— | 1.37— | Same color |
Shades
Shades and tints (50–950)
