CSS named color

Peach Puff #FFDAB9

The CSS keyword peachpuff is #FFDAB9. It is a pale muted orange in the orange family. In OKLCH it sits at lightness 0.911, chroma 0.060 and hue 63.7°.

Relative luminance
0.7491
OKLCH L · C · h
0.911 · 0.060 · 63.7
Best text
Black 15.98:1
Hue family
Orange

#FFDAB9 color codes

HEX
#FFDAB9
RGB
rgb(255, 218, 185)
HSL
hsl(28, 100%, 86%)
OKLCH
oklch(0.911 0.060 63.7)
OKLab
oklab(0.911 0.027 0.054)
CIELAB (D65)
L* 89.35, a* 8.09, b* 21.02
XYZ (D65)
X 75.07, Y 74.91, Z 56.39
CMYK (naive)
cmyk(0%, 15%, 27%, 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 #FFDAB9 accessible?

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

    15.98:1

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

    1.31:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −17

    Text is here, unreadable at 1.31:1

  • As text on black

    15.98:1

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

    1.31:1

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

    Text is here, unreadable at 1.31:1

Nearest versions that pass 4.5:1

  • For text on white

    #917052 4.52:1

    Darkening its OKLCH lightness from 0.91 to 0.57 reaches 4.52:1 on white, keeping the hue.

  • For text on black

    #FFDAB9 15.98:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FFDAB9 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 #FFDAB9

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

  1. 50#FFF3E8
    White
    1.09
    Black
    19.23
  2. 100This color#FFDAB9
    White
    1.31
    Black
    15.98
  3. 200#F1D1B4
    White
    1.44
    Black
    14.51
  4. 300#D8B799
    White
    1.88
    Black
    11.15
  5. 400#BC9A7B
    White
    2.60
    Black
    8.04
  6. 500#A07F60
    White
    3.68
    Black
    5.69
  7. 600#88674A
    White
    5.13
    Black
    4.08
  8. 700#6F5135
    White
    7.23
    Black
    2.90
  9. 800#54391F
    White
    10.59
    Black
    1.98
  10. 900#3A230B
    White
    14.73
    Black
    1.42
  11. 950#241100
    White
    18.17
    Black
    1.15

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

Gamut

How vivid #FFDAB9 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.060; #FFDAB9 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.076 there: 27% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.060
sRGB edge
0.060
Display P3 edge
0.076
Rec. 2020 edge
0.115
Dominant wavelength
582 nm
Excitation purity
24%
Chromaticity
x 0.3638, y 0.3630
  • This color#FFDAB9
  • Most vivid in sRGB#FFDAB9
  • Most vivid in Display P3oklch(0.911 0.076 63.7)

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

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

Mixing

Mixing #FFDAB9

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%#FFEDDC
  • OKLab50%#FFEDDC
  • OKLCH50%#FFEDDD

Black #000000

  • sRGB50%#806D5D
  • OKLab50%#635446
  • OKLCH50%#635446

Its complement #C8E6FF

  • sRGB50%#E4E0DC
  • OKLab50%#E5E1DD
  • OKLCH50%#C8EDD2
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ffdab9, white);
color: color-mix(in oklch, #ffdab9 50%, white);

In use

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

For text on this page, the nearest shade that passes is #917052 4.52:1

Dark page

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

Color vision

How #FFDAB9 looks with color blindness

Achromatopsia changes it most, ΔE2000 15.6; protanopia changes it least, 11.0.

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

    #E6DCB7 ΔE2000 11.0

    Distinct

    Reads as pale muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #EFE4BA ΔE2000 11.1

    Distinct

    Reads as pale muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFD2D1 ΔE2000 14.2

    Distinct

    Reads as pale muted red

  • Achromatopsia

    No cone color vision; lightness only

    #E0E0E0 ΔE2000 15.6

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FFDAB9 · #C8E6FF28.1Stays distinct
Protanopia#E6DCB7 · #DCE6FF26.7Stays distinct
Deuteranopia#EFE4BA · #D5DFFF29.5Stays distinct
Tritanopia#FFD2D1 · #B9ECEE35.3Stays distinct
Achromatopsia#E0E0E0 · #E2E2E20.4Easily confused

Harmony

Color harmonies for #FFDAB9

Its complement is #C8E6FF, a pale grayish 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#FFDAB9
  • Complement#C8E6FF

Complementary

Open in Harmony Studio
  • −30°#FFD7CE
  • Base#FFDAB9
  • +30°#EFE2B5
  • Base#FFDAB9
  • +120°#B6EFE6
  • +240°#E9DAFF
  • Base#FFDAB9
  • +150°#B4EDFA
  • +210°#D8E0FF

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-peachpuff: #ffdab9;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-peachpuff: oklch(0.911 0.060 63.7);
}

Design token (W3C DTCG)

{
  "color": {
    "peachpuff": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.8549, 0.7255],
        "hex": "#ffdab9"
      },
      "$description": "CSS named color peachpuff"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let peachpuff = Color(.sRGB, red: 1.000, green: 0.855, blue: 0.725, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Peachpuff = Color(0xFFFFDAB9)
}

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

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