HEX in HSL: #FDF2F8
Auch bekannt als: Tailwind pink-50, Tailwind v3 pink-50
Ergebnis
#FDF2F8 → hsl(327 73% 97%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fdf2f8. 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. RGB ÷ 255
R = 0.9922 G = 0.9490 B = 0.9725
2. max, min, Δ
max = 0.9922 min = 0.9490 Δ = max − min = 0.0431
3. L
L = (max + min) / 2 = 0.9706 = 97.06%
4. S
S = Δ / (1 − |2L − 1|) = 0.7333 = 73.33%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.9490 − 0.9725) / 0.0431) mod 6) = 327.27°
6. HSL
hsl(327.27 73.33% 97.06%)
Alle Formate
- HEX
- #fdf2f8
- RGB
- rgb(253 242 248)
- RGB (legacy)
- rgb(253, 242, 248)
- HSL
- hsl(327.27 73.33% 97.06%) → hsl(327 73% 97%)
- HWB
- hwb(327 95% 1%)
- OKLCH
- oklch(0.971 0.014 343.2) · oklch(97.1% 0.014 343.2)
- OKLab
- oklab(0.971 0.014 -0.004)
- Lab (D50)
- lab(96.49 4.59 -1.51)
- LCH (D50)
- lch(96.49 4.83 341.78)
- Display P3
- color(display-p3 0.9847 0.9505 0.9712)
- Linear sRGB
- color(srgb-linear 0.9823 0.8879 0.9387)
Gamut: sRGB und Display P3
#FDF2F8 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.018, Display P3 von 0.024; diese Farbe nutzt 79 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fdf2f8;
color: rgb(253 242 248);
color: hsl(327 73% 97%);
color: oklch(0.971 0.014 343.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.971 0.014 343.2);
}
/* arbitrary values */
class="text-[#fdf2f8] bg-[oklch(0.971_0.014_343.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9847 0.9505 0.9712); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fdf2f8 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lavenderblush#FFF0F5
- rose-50#FFF1F2
- red-50#FEF2F2
- fuchsia-50#FDF4FF
- purple-50#FAF5FF
- violet-50#F5F3FF
- zinc-100#F4F4F5
- neutral-100#F5F5F5
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFFCFF · oklch(1.000 0.014 343.2) · ΔL +0.06
- #E9DEE4 · oklch(0.911 0.014 343.2) · ΔL −0.06