The salmon family in CSS
The salmon on this page is CSS salmon, #FA8072 (rgb(250, 128, 114)): an orangey pink inspired by the color of the fish’s flesh. CSS also includes two handy variations that many people don’t know about:
-
lightsalmon(#FFA07A): lighter and more orange; -
darksalmon(#E9967A): oddly, not much darker, just more muted and earthy.
If you want the difference from coral, the rule of thumb is: salmon has more blue in its RGB and therefore looks pinker; coral leans orange.
Perception and uses
Salmon usually reads as gentle, warm and relaxed, a middle ground between the sweetness of pink and the energy of orange. In menswear, the salmon shirt has become a summer classic in many countries, a way to wear color without looking loud. In interiors it shows up in nurseries, cafés and bakeries. In branding it suits food, wellness and baby products. As with any color association, this shifts with culture: what feels fresh in one context can feel dated in another.
In interfaces, salmon is too soft for critical alerts but works well for illustrations, avatars, tags and card backgrounds. In print, orangey pinks tend to look a bit duller on uncoated paper than on screen, so a proof is worth it.
Pairings
- Charcoal gray (
#36454F): an elegant, modern contrast. - Mint green (
#98FF98): a refreshing pastel duo for summer. - Sky blue (
#87CEEB): light and airy. - Cream (
#FFFDD0): warm and cozy tones.
Contrast and dark mode
#FA8072 has a 2.5:1 contrast ratio with white, so salmon buttons with white labels fail WCAG. Choose dark text (8.4:1 with black) or darken the background to something like #B5473A. In dark mode, the original salmon works well as an accent on graphite backgrounds with no adjustment. Check everything in the contrast checker, and preview how the color looks to people with color vision deficiency in the color blindness simulator, since pinkish and greenish tones can be confused.