RGB to HEX: #F472B6
Also known as: Tailwind v3 pink-400
Result
rgb(244 114 182) → #F472B6
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. base 10 → base 16
R = 244 = 15×16 + 4 → F4 G = 114 = 7×16 + 2 → 72 B = 182 = 11×16 + 6 → B6
2. pairs → HEX
F4 72 B6 → #F472B6
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).
- hotpink#FF69B4
- pink-400#FB64B6
- palevioletred#DB7093
- orchid#DA70D6
- v3 rose-400#FB7185
- rose-400#FF637E
- v3 pink-500#EC4899
- violet#EE82EE
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
Guides: What is OKLCH?