CSS named color
LightSalmon #FFA07A
LightSalmon (CSS keyword lightsalmon) has the hex code #FFA07A and the RGB value rgb(255, 160, 122): a light, moderately saturated red-orange.
A light, orangey salmon (#ffa07a), more orange than salmon and darksalmon. It sits close to the peach tones.
Color codes for LightSalmon
| CSS keyword | lightsalmon |
|---|---|
| HEX | #FFA07A |
| RGB | rgb(255, 160, 122) |
| HSL | hsl(17, 100%, 74%) |
| HWB | hwb(17 48% 0%) |
| OKLCH | oklch(79.4% 0.125 42.4) |
| CMYK (naive, no ICC profile) | cmyk(0%, 37%, 52%, 0%) |
| Decimal | 16,752,762 |
| Hue family | Reds |
Contrast and accessibility
On lightsalmon, black text has a contrast ratio of 10.56:1 and passes AAA at any text size; white text reaches 1.98:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on lightsalmon | 10.56:1 | Pass | Pass | Pass | Pass | 65.7 |
| White text on lightsalmon | 1.98:1 | Fail | Fail | Fail | Fail | −42.6 |
| Lightsalmon text on white | 1.98:1 | Fail | Fail | Fail | Fail | 38.2 |
| Lightsalmon text on black | 10.56:1 | Pass | Pass | Pass | Pass | −64.2 |
Tints and shades
Each step mixes lightsalmon with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, lightsalmon, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ffa581 - 15%
#ffae8e - 25%
#ffb89b - 35%
#ffc1a9 - 45%
#ffcbb6 - 55%
#ffd4c3 - 65%
#ffded0 - 75%
#ffe7de - 85%
#fff1eb - 95%
#fffaf8
Shades (mixed with black)
- 5%
#f29874 - 15%
#d98868 - 25%
#bf785c - 35%
#a6684f - 45%
#8c5843 - 55%
#734837 - 65%
#59382b - 75%
#40281f - 85%
#261812 - 95%
#0d0806
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, lightsalmon's complementary color is #4BCDF5 (close to skyblue), its analogous colors are #FF99A6 and #EDAE5A, and its triadic partners are #66D5A4 and #B0B1FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #4bcdf5 |
| Analogous | −30°, +30° | #ff99a6#edae5a |
| Triadic | +120°, +240° | #66d5a4#b0b1ff |
| Split-complementary | +150°, +210° | #38d5d1#7fc0ff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
LightSalmon is a warm color: its hue is 17° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| sandybrown | #f4a460 | 3.9 |
| darksalmon | #e9967a | 4.7 |
| burlywood | #deb887 | 7.1 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| red-300 | #ffa2a2 | 5.1 |
| rose-300 | #ffa1ad | 6.7 |
| orange-300 | #ffb86a | 6.8 |
Code snippets
.element {
color: lightsalmon;
background-color: #ffa07a;
border-color: rgb(255 160 122);
outline-color: oklch(79.4% 0.125 42.4);
}<div class="bg-[#ffa07a] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-lightsalmon: #ffa07a;
}
/* then use bg-lightsalmon, text-lightsalmon, border-lightsalmon */import SwiftUI
extension Color {
static let lightsalmon = Color(red: 1.000, green: 0.627, blue: 0.478)
}import androidx.compose.ui.graphics.Color
val Lightsalmon = Color(0xFFFFA07A)import 'package:flutter/material.dart';
const lightsalmon = Color(0xFFFFA07A);<!-- res/values/colors.xml -->
<color name="lightsalmon">#FFA07A</color>Frequently asked questions
- What is the hex code for lightsalmon?
- The hex code for lightsalmon is #FFA07A. The same color is rgb(255, 160, 122), hsl(17, 100%, 74%) and oklch(79.4% 0.125 42.4), and in CSS you can also write the keyword lightsalmon directly.
- Is lightsalmon a warm or cool color?
- LightSalmon is a warm color: its hue is 17° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with lightsalmon?
- Rotating the hue in OKLCH while keeping lightness and chroma, lightsalmon's complementary color is #4BCDF5 (close to skyblue), its analogous colors are #FF99A6 and #EDAE5A, and its triadic partners are #66D5A4 and #B0B1FF. For text on top, black gives the higher contrast.
- Can you use white text on lightsalmon?
- White text on lightsalmon has a contrast ratio of 1.98:1, which fails AA even for large text under WCAG 2.2. Black text reaches 10.56:1 and passes both AA and AAA. In APCA terms that is Lc −42.6 for white and Lc 65.7 for black.
- What is the RGB value of lightsalmon?
- LightSalmon is rgb(255, 160, 122): red 255, green 160 and blue 122 on the 0 to 255 scale, or 100.0%, 62.7% and 47.8%. As a decimal integer it is 16752762.
Last reviewed by Arielton Oberek.