HEX to HSL: #FFD6A7
Also known as: Tailwind orange-200
Result
#FFD6A7 → hsl(32 100% 83%)
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. RGB ÷ 255
R = 1.0000 G = 0.8392 B = 0.6549
2. max, min, Δ
max = 1.0000 min = 0.6549 Δ = max − min = 0.3451
3. L
L = (max + min) / 2 = 0.8275 = 82.75%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.8392 − 0.6549) / 0.3451) mod 6) = 32.05°
6. HSL
hsl(32.05 100.00% 82.75%)
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?