RGB to HEX: #FFD6A7

Also known as: Tailwind orange-200

Result

rgb(255 214 167) → #FFD6A7

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. 1. base 10 → base 16

    R = 255 = 15×16 + 15 → FF
    G = 214 = 13×16 + 6 → D6
    B = 167 = 10×16 + 7 → A7
  2. 2. pairs → HEX

    FF D6 A7 → #FFD6A7

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).

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

All converters →

Guides: What is OKLCH?