HEX to RGB: #F472B6

Also known as: Tailwind v3 pink-400

Result

#F472B6 → rgb(244 114 182)

Values are shown at full precision, so converting back gives exactly #f472b6. 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. HEX → pairs

    #F472B6 → F4 | 72 | B6
  2. 2. base 16 → base 10

    R = F4₁₆ = 15×16 + 4 = 244
    G = 72₁₆ = 7×16 + 2 = 114
    B = B6₁₆ = 11×16 + 6 = 182
  3. 3. RGB

    rgb(244 114 182)

All formats

HEX
#f472b6
RGB
rgb(244 114 182)
RGB (legacy)
rgb(244, 114, 182)
HSL
hsl(328.62 85.53% 70.20%) → hsl(329 86% 70%)
HWB
hwb(329 45% 4%)
OKLCH
oklch(0.725 0.175 349.8) · oklch(72.5% 0.175 349.8)
OKLab
oklab(0.725 0.172 -0.031)
Lab (D50)
lab(65.77 56.14 -11.13)
LCH (D50)
lch(65.77 57.23 348.79)
Display P3
color(display-p3 0.8931 0.4763 0.7039)
Linear sRGB
color(srgb-linear 0.9047 0.1683 0.4678)

Gamut: sRGB and Display P3

#F472B6 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.205 and Display P3 reaches 0.267; this color uses 86% of the sRGB chroma available.

CSS snippets

.element {
  color: #f472b6;
  color: rgb(244 114 182);
  color: hsl(329 86% 70%);
  color: oklch(0.725 0.175 349.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.725 0.175 349.8);
}
/* arbitrary values */
class="text-[#f472b6] bg-[oklch(0.725_0.175_349.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8931 0.4763 0.7039); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f472b6 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

  • #FF85C9 · oklch(0.785 0.175 349.8) · ΔL +0.06
  • #DF5FA3 · oklch(0.665 0.175 349.8) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?