Salmon Hex Code #FA8072
Salmon is a light, strong red with the hex code #FA8072. In RGB it is 250, 128, 114, and in HSL it is 6°, 93%, 71%. It is one of the 148 named colors in CSS, so you can write “salmon” instead of the hex code.
- HEX
- #FA8072
- RGB
- rgb(250, 128, 114)
- HSL
- hsl(6, 93%, 71%)
- HSV
- hsv(6°, 54%, 98%)
- CMYK
- cmyk(0%, 49%, 54%, 2%)
- CSS name
- salmon
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Salmon
On a white background Salmon has a contrast ratio of 2.50:1 (Fail), and on black 8.40:1 (AAA). Black text is the better choice on top of it.
It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.
Red draws attention and signals urgency, which is why it is common for alerts, errors and sale tags. Because people strongly associate it with warnings, use it sparingly for anything that is not an alert.
Shades and tints of Salmon
Tints mix Salmon with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Salmon
These schemes are calculated from Salmon on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Salmon is #72FAA3, close to the named color Pale Green.
Salmon contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Salmon scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 2.50:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 8.40:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Salmon and color blindness
These are approximate previews of how Salmon can look with the main types of color vision deficiency.
Salmon changes noticeably.
Salmon changes noticeably.
Salmon shifts slightly.
Salmon changes noticeably.
Gradients with Salmon
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Salmon to a lighter tint
background: linear-gradient(135deg, #fa8072 0%, #fdccc7 100%); Salmon to its analogous neighbour
background: linear-gradient(135deg, #fa8072 0%, #fac472 100%); Salmon to its complement
background: linear-gradient(135deg, #fa8072 0%, #72ecfa 100%); Colors similar to Salmon
How each close match differs from Salmon.
Use Salmon in code
.element {
color: #fa8072;
background-color: #fa8072;
border-color: salmon; /* salmon is a valid CSS color name */
} :root {
--color-salmon: #fa8072;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#fa8072] text-[#fa8072] border-[#fa8072]"></div>
/* Tailwind v4 theme color */
@theme {
--color-salmon: #fa8072;
} Salmon questions
What is the hex code for Salmon?
The hex code for Salmon is #FA8072. In RGB that is rgb(250, 128, 114), and in HSL it is hsl(6, 93%, 71%).
What is the complementary color of Salmon?
On the RGB (screen) color wheel, the complement of Salmon is #72ECFA, which is close to Medium Turquoise. On the artist’s RYB wheel it is #72FAA3, close to Pale Green.
Should I use white or black text on Salmon?
Black text. It has a contrast ratio of 8.40:1 against Salmon, which is WCAG AAA. The other option scores 2.50:1.
Is Salmon accessible as a text color on white?
No. Salmon on white scores 2.50:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Salmon?
Mixing Salmon with black gives #C8665B, #964D44, #64332E, #321A17 (20% to 80% black). Mixing it with white gives #FB998E, #FCB3AA, #FDCCC7, #FEE6E3 (20% to 80% white).