CSS named color
Light Salmon #FFA07A
The CSS keyword lightsalmon is #FFA07A. It is a light soft red in the red family. In OKLCH it sits at lightness 0.794, chroma 0.125 and hue 42.4°.
- Relative luminance
- 0.4781
- OKLCH L · C · h
- 0.794 · 0.125 · 42.4
- Best text
- Black 10.56:1
- Hue family
- Red
#FFA07A color codes
- HEX
#FFA07A- RGB
rgb(255, 160, 122)- HSL
hsl(17, 100%, 74%)- OKLCH
oklch(0.794 0.125 42.4)- OKLab
oklab(0.794 0.092 0.084)- CIELAB (D65)
L* 74.71, a* 31.48, b* 34.55- XYZ (D65)
X 57.33, Y 47.81, Z 24.62- CMYK (naive)
cmyk(0%, 37%, 52%, 0%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #FFA07A accessible?
Black text on it reaches 10.56:1, passing AAA. White text fails at 1.98:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
10.56:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +65
-
White text on it
1.98:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −42
-
As text on black
10.56:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −64
-
As text on white
1.98:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +38
Nearest versions that pass 4.5:1
-
For text on white
#B65E39 4.51:1
Darkening its OKLCH lightness from 0.79 to 0.58 reaches 4.51:1 on white, keeping the hue.
-
For text on black
#FFA07A 10.56:1
It already reaches 10.56:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #FFA07A live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #FFA07A
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FFA07A sits at step 300.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #FFA07A can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.125; #FFA07A uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.159 there: 28% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.125
- sRGB edge
- 0.125
- Display P3 edge
- 0.159
- Rec. 2020 edge
- 0.233
- Dominant wavelength
- 592 nm
- Excitation purity
- 47%
- Chromaticity
- x 0.4418, y 0.3685
- This color#FFA07A
- Most vivid in sRGB#FFA07A
- Most vivid in Display P3oklch(0.794 0.159 42.4)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #ffa07a;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 1 0.6117 0.434); }
}
Mixing
Mixing #FFA07A
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#FFD0BD
- OKLab50%#FFD0BD
- OKLCH50%#FFD2C0
Black #000000
- sRGB50%#80503D
- OKLab50%#633B2B
- OKLCH50%#633B2B
Its complement #4BCDF5
- sRGB50%#A5B7B8
- OKLab50%#BCBBBB
- OKLCH50%#9DCD77
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ffa07a, white);
color: color-mix(in oklch, #ffa07a 50%, white);
In use
#FFA07A in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:110.56:1 Passes
- Link and body-size textText, 4.5:11.98:1 Fails
- Large headingLarge text, 3:11.98:1 Fails
- Icons, borders and focus ringsNon-text, 3:11.98:1 Fails
For text on this page, the nearest shade that passes is #B65E39 4.51:1
Dark page
- Button labelText, 4.5:110.56:1 Passes
- Link and body-size textText, 4.5:19.42:1 Passes
- Large headingLarge text, 3:19.42:1 Passes
- Icons, borders and focus ringsNon-text, 3:19.42:1 Passes
Color vision
How #FFA07A looks with color blindness
Deuteranopia changes it most, ΔE2000 26.1; tritanopia changes it least, 14.5.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#B9AC77 ΔE2000 24.3
Distinct
Reads as light muted amber
-
Deuteranopia
No working green (medium-wavelength) cones
#CFC079 ΔE2000 26.1
Distinct
Reads as light muted amber
-
Tritanopia
No working blue (short-wavelength) cones
#FF9096 ΔE2000 14.5
Distinct
Reads as light soft red
-
Achromatopsia
No cone color vision; lightness only
#B8B8B8 ΔE2000 23.7
Distinct
Reads as light gray
Pairing check
Checked against its complement, #4BCDF5. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #FFA07A · #4BCDF5 | 51.5 | Stays distinct |
| Protanopia | #B9AC77 · #B6C8F7 | 37.7 | Stays distinct |
| Deuteranopia | #CFC079 · #9EB7F5 | 44.2 | Stays distinct |
| Tritanopia | #FF9096 · #00DADA | 57.3 | Stays distinct |
| Achromatopsia | #B8B8B8 · #BEBEBE | 1.6 | Easily confused |
Harmony
Color harmonies for #FFA07A
Its complement is #4BCDF5, a light soft blue, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#FFA07A
- Complement#4BCDF5
Complementary
Open in Harmony Studio- −30°#FF9AA6
- Base#FFA07A
- +30°#EDAE5A
Analogous
Open in Harmony Studio- Base#FFA07A
- +120°#66D5A4
- +240°#B1B3FF
Triadic
Open in Harmony Studio- Base#FFA07A
- +150°#38D5D1
- +210°#89C0FF
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-lightsalmon: #ffa07a;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
lightsalmon: '#ffa07a',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-lightsalmon: oklch(0.794 0.125 42.4);
}
{
"color": {
"lightsalmon": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [1, 0.6275, 0.4784],
"hex": "#ffa07a"
},
"$description": "CSS named color lightsalmon"
}
}
}
import SwiftUI
enum Palette {
static let lightsalmon = Color(.sRGB, red: 1.000, green: 0.627, blue: 0.478, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Lightsalmon = Color(0xFFFFA07A)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #FFA07A in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.