Skip to content

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.

LightSalmon#FFA07A

A light, orangey salmon (#ffa07a), more orange than salmon and darksalmon. It sits close to the peach tones.

Color codes for LightSalmon

Color codes for LightSalmon
CSS keywordlightsalmon
HEX#FFA07A
RGBrgb(255, 160, 122)
HSLhsl(17, 100%, 74%)
HWBhwb(17 48% 0%)
OKLCHoklch(79.4% 0.125 42.4)
CMYK (naive, no ICC profile)cmyk(0%, 37%, 52%, 0%)
Decimal16,752,762
Hue familyReds

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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on lightsalmon10.56:1PassPassPassPass65.7
White text on lightsalmon1.98:1FailFailFailFail−42.6
Lightsalmon text on white1.98:1FailFailFailFail38.2
Lightsalmon text on black10.56:1PassPassPassPass−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)

  1. 5%
    #ffa581
  2. 15%
    #ffae8e
  3. 25%
    #ffb89b
  4. 35%
    #ffc1a9
  5. 45%
    #ffcbb6
  6. 55%
    #ffd4c3
  7. 65%
    #ffded0
  8. 75%
    #ffe7de
  9. 85%
    #fff1eb
  10. 95%
    #fffaf8

Shades (mixed with black)

  1. 5%
    #f29874
  2. 15%
    #d98868
  3. 25%
    #bf785c
  4. 35%
    #a6684f
  5. 45%
    #8c5843
  6. 55%
    #734837
  7. 65%
    #59382b
  8. 75%
    #40281f
  9. 85%
    #261812
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
sandybrown#f4a4603.9
darksalmon#e9967a4.7
burlywood#deb8877.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
red-300#ffa2a25.1
rose-300#ffa1ad6.7
orange-300#ffb86a6.8

Code snippets

CSS
.element {
  color: lightsalmon;
  background-color: #ffa07a;
  border-color: rgb(255 160 122);
  outline-color: oklch(79.4% 0.125 42.4);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let lightsalmon = Color(red: 1.000, green: 0.627, blue: 0.478)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Lightsalmon = Color(0xFFFFA07A)
Flutter
import 'package:flutter/material.dart';

const lightsalmon = Color(0xFFFFA07A);
Android XML
<!-- 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.