CSS named color

Salmon #FA8072

salmon rgb(250, 128, 114)

Salmon is a light red with the hex code #FA8072, which converts to rgb(250, 128, 114). Open #FA8072 in the converter to tweak it.

Salmon color values

HEX#FA8072
HEX (shorthand)—
RGBrgb(250, 128, 114)
RGBArgba(250, 128, 114, 1)
8-digit HEX#FA8072FF
HSLhsl(6, 93%, 71%)
HSV / HSB6°, 54%, 98%
CMYK0%, 49%, 54%, 2%
RGB 0–10.98, 0.502, 0.447
Decimal16416882
CSS keywordsalmon

How #FA8072 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: FA → 250, 80 → 128, 72 → 114. That gives rgb(250, 128, 114). The step-by-step guide explains the math.

Shades of Salmon

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Salmon

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Salmon on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Salmon 2.50:1Fail
Black Salmon 8.39:1AAA

Use black text on a salmon background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Salmon in CSS

.element {
  color: salmon;                         /* keyword */
  background-color: #FA8072;            /* hex */
  border-color: rgb(250 128 114 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #FA807280 is Salmon at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Salmon?

The CSS named color salmon is #FA8072 in hexadecimal. In CSS you can write color: salmon; or color: #FA8072; — both produce the same pixel.

What is Salmon in RGB?

Salmon is rgb(250, 128, 114): red 250, green 128, blue 114 on the 0–255 scale. As normalized 0–1 floats that is (0.98, 0.502, 0.447).

Is white or black text more readable on Salmon?

Black text is more readable. White on #FA8072 has a contrast ratio of 2.50:1 (Fail), black on #FA8072 has 8.39:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!