RGB to HEX: #F43F5E
Also known as: Tailwind v3 rose-500
Result
rgb(244 63 94) → #F43F5E
Values are shown at full precision, so converting back gives exactly #f43f5e. 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 = 63 = 3×16 + 15 → 3F B = 94 = 5×16 + 14 → 5E
2. pairs → HEX
F4 3F 5E → #F43F5E
All formats
- HEX
- #f43f5e
- RGB
- rgb(244 63 94)
- RGB (legacy)
- rgb(244, 63, 94)
- HSL
- hsl(349.72 89.16% 60.20%) → hsl(350 89% 60%)
- HWB
- hwb(350 25% 4%)
- OKLCH
- oklch(0.645 0.215 16.4) · oklch(64.5% 0.215 16.4)
- OKLab
- oklab(0.645 0.207 0.061)
- Lab (D50)
- lab(56.46 69.58 26.83)
- LCH (D50)
- lch(56.46 74.57 21.09)
- Display P3
- color(display-p3 0.8823 0.3096 0.3826)
- Linear sRGB
- color(srgb-linear 0.9047 0.0497 0.1119)
Gamut: sRGB and Display P3
#F43F5E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.244 and Display P3 reaches 0.291; this color uses 88% of the sRGB chroma available.
CSS snippets
.element {
color: #f43f5e;
color: rgb(244 63 94);
color: hsl(350 89% 60%);
color: oklch(0.645 0.215 16.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.645 0.215 16.4);
}
/* arbitrary values */
class="text-[#f43f5e] bg-[oklch(0.645_0.215_16.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8823 0.3096 0.3826); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f43f5e calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- rose-500#FF2056
- v3 red-500#EF4444
- red-500#FB2C36
- rose-600#EC003F
- v3 rose-600#E11D48
- red-400#FF6467
- rose-400#FF637E
- red#FF0000
Lighter and darker, same hue and chroma
- #FF5570 · oklch(0.705 0.215 16.4) · ΔL +0.06
- #DE254D · oklch(0.585 0.215 16.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?