PreviewingGo to this paletteOpen in generator
Code
/* Valentine Pink — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #E91E63;
--color-3: #F06292;
--color-4: #FF69B4;
--color-5: #FFB6C1;
--color-bg: #FFF4F5;
--color-surface: #FAE8EB;
--color-border: #E5CFD1;
--color-text: #7A3A3B;
--color-muted: #816362;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #A5646F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #EBC0C6;
--color-muted: #9A7A7F;
--color-primary: #E51760;
--color-on-primary: #FFFFFF;
--color-accent: #FF69B4;
--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 #FFB6C1 | adjusted for contrast · from #DC143C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | adjusted for contrast · from #FFB6C1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E91E63 | adjusted for contrast · from #E91E63 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DC143C | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.82:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.22:1 | AA Large pass 3:1 | |
| Accent on background | 4.19:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.80:1 | AAA pass 4.5:1 | |
| Text on surface | 10.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 7.26:1 | AAA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 7.26: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) | #E91E63 (Text 2) | #F06292 (Text 3) | #FF69B4 (Text 4) | #FFB6C1 (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.15— | 1.63— | 1.88— | 3.02AA Large |
| #E91E63 | 1.15— | Same color | 1.42— | 1.64— | 2.63— |
| #F06292 | 1.63— | 1.42— | Same color | 1.16— | 1.85— |
| #FF69B4 | 1.88— | 1.64— | 1.16— | Same color | 1.60— |
| #FFB6C1 | 3.02AA Large | 2.63— | 1.85— | 1.60— | Same color |
Shades
Shades and tints (50–950)
