PreviewingGo to this paletteOpen in generator
Code
/* Crimson Coral — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #F03A47;
--color-3: #FF5252;
--color-4: #FF6F6F;
--color-5: #FF8A8A;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #7A3A3B;
--color-muted: #816362;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #C05255;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0909;
--color-surface: #281313;
--color-border: #402625;
--color-text: #D0A6A4;
--color-muted: #9B7B7A;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #FF8A8A;
--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 #FF8A8A | adjusted for contrast · from #DC143C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #DC143C | adjusted for contrast · from #FF8A8A |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #DC143C | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.81:1 | AAA pass 4.5:1 | |
| Text on surface | 7.18:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.63:1 | AA pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.85:1 | AAA pass 4.5:1 | |
| Text on surface | 8.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 8.47:1 | AAA pass 4.5:1 | |
| Primary on background | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 8.47: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) | #F03A47 (Text 2) | #FF5252 (Text 3) | #FF6F6F (Text 4) | #FF8A8A (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.28— | 1.56— | 1.84— | 2.20— |
| #F03A47 | 1.28— | Same color | 1.22— | 1.44— | 1.71— |
| #FF5252 | 1.56— | 1.22— | Same color | 1.18— | 1.41— |
| #FF6F6F | 1.84— | 1.44— | 1.18— | Same color | 1.19— |
| #FF8A8A | 2.20— | 1.71— | 1.41— | 1.19— | Same color |
Shades
Shades and tints (50–950)
