PreviewingGo to this paletteOpen in generator
Code
/* Crimson Pink — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #E6375A;
--color-3: #F05A78;
--color-4: #FA7D96;
--color-5: #FFA0B4;
--color-bg: #FFF3F5;
--color-surface: #FAE8EB;
--color-border: #E4CED2;
--color-text: #7A3A3B;
--color-muted: #816362;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #B15A6E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #DDB3BB;
--color-muted: #99797F;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #FFA0B4;
--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 #FFA0B4 | adjusted for contrast · from #DC143C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | adjusted for contrast · from #FFA0B4 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6375A | 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.13: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.61:1 | AA pass 4.5:1 | |
| Primary on background | 4.61:1 | AA pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.29:1 | AAA pass 4.5:1 | |
| Text on surface | 9.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 10.01:1 | AAA pass 4.5:1 | |
| Primary on background | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 10.01: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 | #DC143C (Text 1) | #E6375A (Text 2) | #F05A78 (Text 3) | #FA7D96 (Text 4) | #FFA0B4 (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.20— | 1.53— | 2.01— | 2.60— |
| #E6375A | 1.20— | Same color | 1.27— | 1.67— | 2.16— |
| #F05A78 | 1.53— | 1.27— | Same color | 1.31— | 1.70— |
| #FA7D96 | 2.01— | 1.67— | 1.31— | Same color | 1.30— |
| #FFA0B4 | 2.60— | 2.16— | 1.70— | 1.30— | Same color |
Shades
Shades and tints (50–950)
