Skip to content

CSS named color

PeachPuff #FFDAB9

PeachPuff (CSS keyword peachpuff) has the hex code #FFDAB9 and the RGB value rgb(255, 218, 185): a pale, muted beige.

PeachPuff#FFDAB9

A light peach (#ffdab9), slightly pinker than moccasin and navajowhite. Common for warm, soft backgrounds.

Color codes for PeachPuff

Color codes for PeachPuff
CSS keywordpeachpuff
HEX#FFDAB9
RGBrgb(255, 218, 185)
HSLhsl(28, 100%, 86%)
HWBhwb(28 73% 0%)
OKLCHoklch(91.1% 0.06 63.7)
CMYK (naive, no ICC profile)cmyk(0%, 15%, 27%, 0%)
Decimal16,767,673
Hue familyYellows

Contrast and accessibility

On peachpuff, black text has a contrast ratio of 15.98:1 and passes AAA at any text size; white text reaches 1.31: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 peachpuff15.98:1PassPassPassPass88.1
White text on peachpuff1.31:1FailFailFailFail−17.8
Peachpuff text on white1.31:1FailFailFailFail15.5
Peachpuff text on black15.98:1PassPassPassPass−88.2

Tints and shades

Each step mixes peachpuff with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, peachpuff, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #ffdcbd
  2. 15%
    #ffe0c4
  3. 25%
    #ffe3cb
  4. 35%
    #ffe7d2
  5. 45%
    #ffebd9
  6. 55%
    #ffeee0
  7. 65%
    #fff2e7
  8. 75%
    #fff6ee
  9. 85%
    #fff9f5
  10. 95%
    #fffdfc

Shades (mixed with black)

  1. 5%
    #f2cfb0
  2. 15%
    #d9b99d
  3. 25%
    #bfa48b
  4. 35%
    #a68e78
  5. 45%
    #8c7866
  6. 55%
    #736253
  7. 65%
    #594c41
  8. 75%
    #40372e
  9. 85%
    #26211c
  10. 95%
    #0d0b09

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, peachpuff's complementary color is #C0E7FF (close to paleturquoise), its analogous colors are #FFD4C8 and #EFE2B5, and its triadic partners are #B6EFE6 and #EAD9FF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#c0e7ff
Analogous−30°, +30°#ffd4c8#efe2b5
Triadic+120°, +240°#b6efe6#ead9ff
Split-complementary+150°, +210°#b4edfa#d5e0ff

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?

PeachPuff is a warm color: its hue is 28° 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
wheat#f5deb32.1
navajowhite#ffdead2.1
bisque#ffe4c42.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
orange-200#ffd6a72.1
orange-100#ffedd44.9
red-100#ffe2e25.1

Code snippets

CSS
.element {
  color: peachpuff;
  background-color: #ffdab9;
  border-color: rgb(255 218 185);
  outline-color: oklch(91.1% 0.06 63.7);
}
Tailwind CSS
<div class="bg-[#ffdab9] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-peachpuff: #ffdab9;
}
/* then use bg-peachpuff, text-peachpuff, border-peachpuff */
SwiftUI
import SwiftUI

extension Color {
  static let peachpuff = Color(red: 1.000, green: 0.855, blue: 0.725)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const peachpuff = Color(0xFFFFDAB9);
Android XML
<!-- res/values/colors.xml -->
<color name="peachpuff">#FFDAB9</color>

Frequently asked questions

What is the hex code for peachpuff?
The hex code for peachpuff is #FFDAB9. The same color is rgb(255, 218, 185), hsl(28, 100%, 86%) and oklch(91.1% 0.06 63.7), and in CSS you can also write the keyword peachpuff directly.
Is peachpuff a warm or cool color?
PeachPuff is a warm color: its hue is 28° 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 peachpuff?
Rotating the hue in OKLCH while keeping lightness and chroma, peachpuff's complementary color is #C0E7FF (close to paleturquoise), its analogous colors are #FFD4C8 and #EFE2B5, and its triadic partners are #B6EFE6 and #EAD9FF. For text on top, black gives the higher contrast.
Can you use white text on peachpuff?
White text on peachpuff has a contrast ratio of 1.31:1, which fails AA even for large text under WCAG 2.2. Black text reaches 15.98:1 and passes both AA and AAA. In APCA terms that is Lc −17.8 for white and Lc 88.1 for black.
What is the RGB value of peachpuff?
PeachPuff is rgb(255, 218, 185): red 255, green 218 and blue 185 on the 0 to 255 scale, or 100.0%, 85.5% and 72.5%. As a decimal integer it is 16767673.

Last reviewed by Arielton Oberek.