RGB to HEX: #F3F1F1

Also known as: Tailwind taupe-100

Result

rgb(243 241 241) → #F3F1F1

Values are shown at full precision, so converting back gives exactly #f3f1f1. 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 = 243 = 15×16 + 3 → F3
    G = 241 = 15×16 + 1 → F1
    B = 241 = 15×16 + 1 → F1
  2. 2. pairs → HEX

    F3 F1 F1 → #F3F1F1

All formats

HEX
#f3f1f1
RGB
rgb(243 241 241)
RGB (legacy)
rgb(243, 241, 241)
HSL
hsl(0.00 7.69% 94.90%) → hsl(0 8% 95%)
HWB
hwb(0 95% 5%)
OKLCH
oklch(0.960 0.002 17.2) · oklch(96.0% 0.002 17.2)
OKLab
oklab(0.960 0.002 0.001)
Lab (D50)
lab(95.30 0.69 0.25)
LCH (D50)
lch(95.30 0.73 19.75)
Display P3
color(display-p3 0.9516 0.9454 0.9452)
Linear sRGB
color(srgb-linear 0.8963 0.8796 0.8796)

Gamut: sRGB and Display P3

#F3F1F1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.020 and Display P3 reaches 0.026; this color uses 11% of the sRGB chroma available.

CSS snippets

.element {
  color: #f3f1f1;
  color: rgb(243 241 241);
  color: hsl(0 8% 95%);
  color: oklch(0.960 0.002 17.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.960 0.002 17.2);
}
/* arbitrary values */
class="text-[#f3f1f1] bg-[oklch(0.960_0.002_17.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9516 0.9454 0.9452); }
}

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

  • #FFFEFE · oklch(1.000 0.002 17.2) · ΔL +0.06
  • #DFDDDD · oklch(0.900 0.002 17.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?