RGB to HEX: #FFDAB9
Also known as: CSS peachpuff
Result
rgb(255 218 185) → #FFDAB9
Values are shown at full precision, so converting back gives exactly #ffdab9. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. base 10 → base 16
R = 255 = 15×16 + 15 → FF G = 218 = 13×16 + 10 → DA B = 185 = 11×16 + 9 → B9
2. pairs → HEX
FF DA B9 → #FFDAB9
All formats
- HEX
- #ffdab9
- RGB
- rgb(255 218 185)
- RGB (legacy)
- rgb(255, 218, 185)
- HSL
- hsl(28.29 100.00% 86.27%) → hsl(28 100% 86%)
- HWB
- hwb(28 73% 0%)
- OKLCH
- oklch(0.911 0.060 63.7) · oklch(91.1% 0.060 63.7)
- OKLab
- oklab(0.911 0.027 0.054)
- Lab (D50)
- lab(89.60 9.78 21.32)
- LCH (D50)
- lch(89.60 23.46 65.35)
- Display P3
- color(display-p3 0.9763 0.8602 0.7416)
- Linear sRGB
- color(srgb-linear 1.0000 0.7011 0.4851)
Gamut: sRGB and Display P3
#FFDAB9 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.060 and Display P3 reaches 0.076; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ffdab9;
color: rgb(255 218 185);
color: hsl(28 100% 86%);
color: oklch(0.911 0.060 63.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.911 0.060 63.7);
}
/* arbitrary values */
class="text-[#ffdab9] bg-[oklch(0.911_0.060_63.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9763 0.8602 0.7416); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffdab9 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 orange-200#FED7AA
- wheat#F5DEB3
- navajowhite#FFDEAD
- orange-200#FFD6A7
- bisque#FFE4C4
- moccasin#FFE4B5
- blanchedalmond#FFEBCD
- antiquewhite#FAEBD7
Lighter and darker, same hue and chroma
- #FFEECC · oklch(0.971 0.060 63.7) · ΔL +0.06
- #EBC7A6 · oklch(0.851 0.060 63.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?