HEX to RGB: #FFD6A7
Also known as: Tailwind orange-200
Result
#FFD6A7 → rgb(255 214 167)
Values are shown at full precision, so converting back gives exactly #ffd6a7. 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. HEX → pairs
#FFD6A7 → FF | D6 | A7
2. base 16 → base 10
R = FF₁₆ = 15×16 + 15 = 255 G = D6₁₆ = 13×16 + 6 = 214 B = A7₁₆ = 10×16 + 7 = 167
3. RGB
rgb(255 214 167)
All formats
- HEX
- #ffd6a7
- RGB
- rgb(255 214 167)
- RGB (legacy)
- rgb(255, 214, 167)
- HSL
- hsl(32.05 100.00% 82.75%) → hsl(32 100% 83%)
- HWB
- hwb(32 65% 0%)
- OKLCH
- oklch(0.900 0.076 70.4) · oklch(90.0% 0.076 70.4)
- OKLab
- oklab(0.900 0.026 0.072)
- Lab (D50)
- lab(88.35 10.10 28.91)
- LCH (D50)
- lch(88.35 30.62 70.74)
- Display P3
- color(display-p3 0.9740 0.8452 0.6782)
- Linear sRGB
- color(srgb-linear 1.0000 0.6724 0.3864)
Gamut: sRGB and Display P3
#FFD6A7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.076 and Display P3 reaches 0.096; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ffd6a7;
color: rgb(255 214 167);
color: hsl(32 100% 83%);
color: oklch(0.900 0.076 70.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.900 0.076 70.4);
}
/* arbitrary values */
class="text-[#ffd6a7] bg-[oklch(0.900_0.076_70.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9740 0.8452 0.6782); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffd6a7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 orange-200#FED7AA
- navajowhite#FFDEAD
- peachpuff#FFDAB9
- wheat#F5DEB3
- moccasin#FFE4B5
- bisque#FFE4C4
- palegoldenrod#EEE8AA
- blanchedalmond#FFEBCD
Lighter and darker, same hue and chroma
- #FFEABA · oklch(0.960 0.076 70.4) · ΔL +0.06
- #EBC394 · oklch(0.840 0.076 70.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?