CSS named color
LightSalmon #FFA07A
LightSalmon is a light orange with the hex code #FFA07A, which converts to rgb(255, 160, 122). Open #FFA07A in the converter to tweak it.
LightSalmon color values
| HEX | #FFA07A |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(255, 160, 122) |
| RGBA | rgba(255, 160, 122, 1) |
| 8-digit HEX | #FFA07AFF |
| HSL | hsl(17, 100%, 74%) |
| HSV / HSB | 17°, 52%, 100% |
| CMYK | 0%, 37%, 52%, 0% |
| RGB 0–1 | 1, 0.627, 0.478 |
| Decimal | 16752762 |
| CSS keyword | lightsalmon |
How #FFA07A converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: FF → 255, A0 → 160, 7A → 122. That gives rgb(255, 160, 122). The step-by-step guide explains the math.
Shades of LightSalmon
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of LightSalmon
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of LightSalmon 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
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | LightSalmon | 1.98:1 | Fail |
| Black | LightSalmon | 10.56:1 | AAA |
Use black text on a lightsalmon background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use LightSalmon in CSS
.element {
color: lightsalmon; /* keyword */
background-color: #FFA07A; /* hex */
border-color: rgb(255 160 122 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #FFA07A80 is LightSalmon at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for LightSalmon?
The CSS named color lightsalmon is #FFA07A in hexadecimal. In CSS you can write color: lightsalmon; or color: #FFA07A; — both produce the same pixel.
What is LightSalmon in RGB?
LightSalmon is rgb(255, 160, 122): red 255, green 160, blue 122 on the 0–255 scale. As normalized 0–1 floats that is (1, 0.627, 0.478).
Is white or black text more readable on LightSalmon?
Black text is more readable. White on #FFA07A has a contrast ratio of 1.98:1 (Fail), black on #FFA07A has 10.56:1 (AAA). WCAG AA needs 4.5:1 for normal text.