Candy Cane is a complementary color palette tagged modern, red, white. Near-complementary hues (about 168° apart) make this a high-contrast, attention-grabbing combination. Saturation is moderate, which keeps it flexible for both interfaces and print. Warm and cool hues are mixed, which adds depth.
Color codes click any value to copy
| Swatch | Name | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Crimson | #D7263D | rgb(215, 38, 61) | hsl(352, 70%, 50%) | oklch(57.1% 0.209 21) | |
| White | #FFFFFF | rgb(255, 255, 255) | hsl(0, 0%, 100%) | oklch(100.0% 0.000 0) | |
| Bubblegum | #F9C5D1 | rgb(249, 197, 209) | hsl(346, 81%, 87%) | oklch(87.3% 0.061 3) | |
| Fern | #2E7D5B | rgb(46, 125, 91) | hsl(154, 46%, 34%) | oklch(53.1% 0.095 162) |
Why it works and how to use it
It works because the lightness range is wide (34% to 100%), which gives clear hierarchy between background, content and accents. Try it for websites, presentations and branding.
- Background: White (#FFFFFF) is the lightest color, so it belongs on large surfaces.
- Text: Fern (#2E7D5B) on #FFFFFF gives 5:1, passing WCAG AA.
- Primary: Bubblegum (#F9C5D1) is the most saturated mid-tone; use it for buttons and links with a border or a darker shade for contrast.
- Accent: Crimson (#D7263D) for highlights, badges and hover states.
2 of 6 color pairs pass WCAG AA (4.5:1); the strongest is White on Fern at 5:1.
Preview on a real UI see how the palette feels in context
Design faster with Candy Cane
A palette preview that turns four colors into a page, so you can judge hierarchy, contrast and mood before you commit.
Primary action SecondaryColor blindness simulation
Color-blind check: all four colors stay distinguishable under protanopia, deuteranopia and tritanopia.
Contrast check WCAG ratios between palette colors
| Pair | Sample | Ratio | Level |
|---|---|---|---|
#FFFFFF on #2E7D5B | Aa | 5:1 | AA |
#D7263D on #FFFFFF | Aa | 4.96:1 | AA |
#F9C5D1 on #2E7D5B | Aa | 3.32:1 | AA large only |
#D7263D on #F9C5D1 | Aa | 3.29:1 | AA large only |
#FFFFFF on #F9C5D1 | Aa | 1.51:1 | Fail |
#D7263D on #2E7D5B | Aa | 1.01:1 | Fail |