RGB to HEX: #FECACA
Also known as: Tailwind v3 red-200
Result
rgb(254 202 202) → #FECACA
Values are shown at full precision, so converting back gives exactly #fecaca. 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 = 254 = 15×16 + 14 → FE G = 202 = 12×16 + 10 → CA B = 202 = 12×16 + 10 → CA
2. pairs → HEX
FE CA CA → #FECACA
All formats
- HEX
- #fecaca
- RGB
- rgb(254 202 202)
- RGB (legacy)
- rgb(254, 202, 202)
- HSL
- hsl(0.00 96.30% 89.41%) → hsl(0 96% 89%)
- HWB
- hwb(0 79% 0%)
- OKLCH
- oklch(0.885 0.059 18.3) · oklch(88.5% 0.059 18.3)
- OKLab
- oklab(0.885 0.056 0.019)
- Lab (D50)
- lab(85.99 19.00 7.41)
- LCH (D50)
- lch(85.99 20.39 21.30)
- Display P3
- color(display-p3 0.9640 0.8001 0.7962)
- Linear sRGB
- color(srgb-linear 0.9911 0.5906 0.5906)
Gamut: sRGB and Display P3
#FECACA is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.061 and Display P3 reaches 0.079; this color uses 97% of the sRGB chroma available.
CSS snippets
.element {
color: #fecaca;
color: rgb(254 202 202);
color: hsl(0 96% 89%);
color: oklch(0.885 0.059 18.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.885 0.059 18.3);
}
/* arbitrary values */
class="text-[#fecaca] bg-[oklch(0.885_0.059_18.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9640 0.8001 0.7962); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fecaca calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- red-200#FFC9C9
- rose-200#FFCCD3
- v3 rose-200#FECDD3
- pink#FFC0CB
- v3 pink-200#FBCFE8
- pink-200#FCCEE8
- lightpink#FFB6C1
- peachpuff#FFDAB9
Lighter and darker, same hue and chroma
- #FFDEDD · oklch(0.945 0.059 18.3) · ΔL +0.06
- #EAB7B7 · oklch(0.825 0.059 18.3) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?