PreviewingGo to this paletteOpen in generator
Code
/* Carnation Red — colorset.net */
:root {
--color-1: #FF5A7A;
--color-2: #FF4D6D;
--color-3: #FF4060;
--color-4: #FF3353;
--color-5: #FF2646;
--color-bg: #FFF4F4;
--color-surface: #FBE8EA;
--color-border: #E5CFD0;
--color-text: #7B3A3B;
--color-muted: #826362;
--color-primary: #EB0038;
--color-on-primary: #FFFFFF;
--color-accent: #950020;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281312;
--color-border: #402625;
--color-text: #C39A9D;
--color-muted: #9A7A7D;
--color-primary: #EB0038;
--color-on-primary: #FFFFFF;
--color-accent: #FF5A7A;
--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 #FF5A7A | adjusted for contrast · from #FF2646 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF2646 | adjusted for contrast · from #FF5A7A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF2646 | adjusted for contrast · from #FF2646 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF2646 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 9.14:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 8.48:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 6.40:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 6.40: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 | #FF5A7A (Text 1) | #FF4D6D (Text 2) | #FF4060 (Text 3) | #FF3353 (Text 4) | #FF2646 (Text 5) |
|---|---|---|---|---|---|
| #FF5A7A | Same color | 1.07— | 1.14— | 1.20— | 1.25— |
| #FF4D6D | 1.07— | Same color | 1.06— | 1.12— | 1.16— |
| #FF4060 | 1.14— | 1.06— | Same color | 1.05— | 1.10— |
| #FF3353 | 1.20— | 1.12— | 1.05— | Same color | 1.04— |
| #FF2646 | 1.25— | 1.16— | 1.10— | 1.04— | Same color |
Shades
Shades and tints (50–950)
