HEX in HSL: #FB64B6

Auch bekannt als: Tailwind pink-400

Ergebnis

#FB64B6 → hsl(327 95% 69%)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fb64b6. Die gerundete Form fügst du üblicherweise in CSS ein.

Rechenweg Schritt für Schritt

Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.

  1. 1. RGB ÷ 255

    R = 0.9843
    G = 0.3922
    B = 0.7137
  2. 2. max, min, Δ

    max = 0.9843
    min = 0.3922
    Δ = max − min = 0.5922
  3. 3. L

    L = (max + min) / 2 = 0.6882 = 68.82%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.9497 = 94.97%
  5. 5. H

    max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.3922 − 0.7137) / 0.5922) mod 6) = 327.42°
  6. 6. HSL

    hsl(327.42 94.97% 68.82%)

Alle Formate

HEX
#fb64b6
RGB
rgb(251 100 182)
RGB (legacy)
rgb(251, 100, 182)
HSL
hsl(327.42 94.97% 68.82%) → hsl(327 95% 69%)
HWB
hwb(327 39% 2%)
OKLCH
oklch(0.718 0.202 349.7) · oklch(71.8% 0.202 349.7)
OKLab
oklab(0.718 0.198 -0.036)
Lab (D50)
lab(64.51 64.25 -12.86)
LCH (D50)
lch(64.51 65.52 348.68)
Display P3
color(display-p3 0.9143 0.4305 0.7026)
Linear sRGB
color(srgb-linear 0.9647 0.1274 0.4678)

Gamut: sRGB und Display P3

#FB64B6 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.213, Display P3 von 0.277; diese Farbe nutzt 95 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #fb64b6;
  color: rgb(251 100 182);
  color: hsl(327 95% 69%);
  color: oklch(0.718 0.202 349.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.718 0.202 349.7);
}
/* arbitrary values */
class="text-[#fb64b6] bg-[oklch(0.718_0.202_349.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9143 0.4305 0.7026); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fb64b6 calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #FF78C9 · oklch(0.778 0.202 349.7) · ΔL +0.06
  • #E650A3 · oklch(0.658 0.202 349.7) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →