About Salmon
Salmon (salmon) is a light, vivid red with the hex code #fa8072, or rgb(250, 128, 114). In HSL it sits at a hue of 6°, 93% saturation and 71% lightness. It is one of the 148 named colors every browser understands, so you can write color: salmon; instead of the hex value.
Using Salmon for text and backgrounds
| Pairing | Contrast ratio | WCAG |
|---|---|---|
| Salmon text on white | 2.50 : 1 | fails |
| Salmon text on black | 8.40 : 1 | AAA |
On a salmon background, use black text (8.40 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.
CSS
.element {
color: salmon; /* or #fa8072 */
background-color: #fa8072;
border: 1px solid rgb(250 128 114 / 50%);
}
Similar named colors
Light Coral (#f08080), Dark Salmon (#e9967a), Light Salmon (#ffa07a), Coral (#ff7f50), Sandy Brown (#f4a460), Pale Violet Red (#db7093).