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.
A light peach (#ffdab9), slightly pinker than moccasin and navajowhite. Common for warm, soft backgrounds.
Color codes for PeachPuff
| CSS keyword | peachpuff |
|---|---|
| HEX | #FFDAB9 |
| RGB | rgb(255, 218, 185) |
| HSL | hsl(28, 100%, 86%) |
| HWB | hwb(28 73% 0%) |
| OKLCH | oklch(91.1% 0.06 63.7) |
| CMYK (naive, no ICC profile) | cmyk(0%, 15%, 27%, 0%) |
| Decimal | 16,767,673 |
| Hue family | Yellows |
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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on peachpuff | 15.98:1 | Pass | Pass | Pass | Pass | 88.1 |
| White text on peachpuff | 1.31:1 | Fail | Fail | Fail | Fail | −17.8 |
| Peachpuff text on white | 1.31:1 | Fail | Fail | Fail | Fail | 15.5 |
| Peachpuff text on black | 15.98:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#ffdcbd - 15%
#ffe0c4 - 25%
#ffe3cb - 35%
#ffe7d2 - 45%
#ffebd9 - 55%
#ffeee0 - 65%
#fff2e7 - 75%
#fff6ee - 85%
#fff9f5 - 95%
#fffdfc
Shades (mixed with black)
- 5%
#f2cfb0 - 15%
#d9b99d - 25%
#bfa48b - 35%
#a68e78 - 45%
#8c7866 - 55%
#736253 - 65%
#594c41 - 75%
#40372e - 85%
#26211c - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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
| Color | HEX | ΔE OK |
|---|---|---|
| wheat | #f5deb3 | 2.1 |
| navajowhite | #ffdead | 2.1 |
| bisque | #ffe4c4 | 2.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| orange-200 | #ffd6a7 | 2.1 |
| orange-100 | #ffedd4 | 4.9 |
| red-100 | #ffe2e2 | 5.1 |
Code snippets
.element {
color: peachpuff;
background-color: #ffdab9;
border-color: rgb(255 218 185);
outline-color: oklch(91.1% 0.06 63.7);
}<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 */import SwiftUI
extension Color {
static let peachpuff = Color(red: 1.000, green: 0.855, blue: 0.725)
}import androidx.compose.ui.graphics.Color
val Peachpuff = Color(0xFFFFDAB9)import 'package:flutter/material.dart';
const peachpuff = Color(0xFFFFDAB9);<!-- 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.