CSS named color

Dark Salmon #E9967A

The CSS keyword darksalmon is #E9967A. It is a light soft red in the red family. In OKLCH it sits at lightness 0.751, chroma 0.108 and hue 39.4°.

Relative luminance
0.4054
OKLCH L · C · h
0.751 · 0.108 · 39.4
Best text
Black 9.10:1
Hue family
Red

#E9967A color codes

HEX
#E9967A
RGB
rgb(233, 150, 122)
HSL
hsl(15, 72%, 70%)
OKLCH
oklch(0.751 0.108 39.4)
OKLab
oklab(0.751 0.084 0.069)
CIELAB (D65)
L* 69.86, a* 28.17, b* 27.71
XYZ (D65)
X 48.03, Y 40.55, Z 23.71
CMYK (naive)
cmyk(0%, 36%, 48%, 9%)

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 #E9967A accessible?

Black text on it reaches 9.10:1, passing AAA. White text fails at 2.30: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

    9.10:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +58
  • White text on it

    2.30:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −50
  • As text on black

    9.10:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −56
  • As text on white

    2.30:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +45

Nearest versions that pass 4.5:1

  • For text on white

    #AE6147 4.56:1

    Darkening its OKLCH lightness from 0.75 to 0.58 reaches 4.56:1 on white, keeping the hue.

  • For text on black

    #E9967A 9.10:1

    It already reaches 9.10:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #E9967A 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.

The studio needs JavaScript.

Scale

Shades and tints of #E9967A

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #E9967A sits at step 400.

  1. 50#FFF2EE
    White
    1.09
    Black
    19.18
  2. 100#FFE5DC
    White
    1.20
    Black
    17.49
  3. 200#FFC9B8
    White
    1.46
    Black
    14.29
  4. 300#F7A78C
    White
    1.93
    Black
    10.86
  5. 400This color#E9967A
    White
    2.30
    Black
    9.10
  6. 500#BD6E53
    White
    3.80
    Black
    5.51
  7. 600#A3573D
    White
    5.26
    Black
    3.98
  8. 700#884028
    White
    7.47
    Black
    2.81
  9. 800#6A2911
    White
    10.83
    Black
    1.93
  10. 900#4B1300
    White
    15.08
    Black
    1.39
  11. 950#2D0800
    White
    18.31
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #E9967A can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.155; #E9967A uses 70% of it. Display P3, which many recent phones and laptops show, reaches 0.197 there: 27% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.108
sRGB edge
0.155
Display P3 edge
0.197
Rec. 2020 edge
0.270
Dominant wavelength
593 nm
Excitation purity
41%
Chromaticity
x 0.4277, y 0.3611
  • This color#E9967A
  • Most vivid in sRGB#FF885F
  • Most vivid in Display P3oklch(0.751 0.197 39.4)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #e9967a;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.5088 0.3175); }
}

Mixing

Mixing #E9967A

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%#F4CBBD
  • OKLab50%#F7CBBC
  • OKLCH50%#F7CBBC

Black #000000

  • sRGB50%#754B3D
  • OKLab50%#5A372B
  • OKLCH50%#5A372B

Its complement #50BEDD

  • sRGB50%#9DAAAC
  • OKLab50%#AEAEAE
  • OKLCH50%#C39BE2
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #e9967a, white);
color: color-mix(in oklch, #e9967a 50%, white);

In use

#E9967A 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:19.10:1 Passes
  • Link and body-size textText, 4.5:12.30:1 Fails
  • Large headingLarge text, 3:12.30:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.30:1 Fails

For text on this page, the nearest shade that passes is #AE6147 4.56:1

Dark page

  • Button labelText, 4.5:19.10:1 Passes
  • Link and body-size textText, 4.5:18.12:1 Passes
  • Large headingLarge text, 3:18.12:1 Passes
  • Icons, borders and focus ringsNon-text, 3:18.12:1 Passes

Color vision

How #E9967A looks with color blindness

Deuteranopia changes it most, ΔE2000 24.7; tritanopia changes it least, 12.1.

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

    #ABA078 ΔE2000 22.6

    Distinct

    Reads as light muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #BEB279 ΔE2000 24.7

    Distinct

    Reads as light muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FB898F ΔE2000 12.1

    Distinct

    Reads as light soft red

  • Achromatopsia

    No cone color vision; lightness only

    #ABABAB ΔE2000 22.6

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #50BEDD. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#E9967A · #50BEDD49.2Stays distinct
Protanopia#ABA078 · #ABB9DF32.4Stays distinct
Deuteranopia#BEB279 · #97AADD39.4Stays distinct
Tritanopia#FB898F · #00C8C856.5Stays distinct
Achromatopsia#ABABAB · #B1B1B11.7Easily confused

Harmony

Color harmonies for #E9967A

Its complement is #50BEDD, 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#E9967A
  • Complement#50BEDD

Complementary

Open in Harmony Studio
  • −30°#E9919F
  • Base#E9967A
  • +30°#DAA15E
  • Base#E9967A
  • +120°#6CC396
  • +240°#A0A7F2
  • Base#E9967A
  • +150°#49C4BD
  • +210°#77B3F0

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-darksalmon: #e9967a;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        darksalmon: '#e9967a',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-darksalmon: oklch(0.751 0.108 39.4);
}

Design token (W3C DTCG)

{
  "color": {
    "darksalmon": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9137, 0.5882, 0.4784],
        "hex": "#e9967a"
      },
      "$description": "CSS named color darksalmon"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let darksalmon = Color(.sRGB, red: 0.914, green: 0.588, blue: 0.478, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Darksalmon = Color(0xFFE9967A)
}

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 #E9967A in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.