HSL in HEX: #FB64B6
Auch bekannt als: Tailwind pink-400
Ergebnis
hsl(327.42 94.97% 68.82%) → #FB64B6
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. input
H = 327.42°, S = 94.97%, L = 68.82%
2. C
C = (1 − |2L − 1|) × S = 0.59223
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.32158 (H / 60° = 5.4570, sector 5)
4. m
m = L − C / 2 = 0.39208
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.59223, 0.00000, 0.32158) R = round((0.59223 + 0.39208) × 255) = 251 G = round((0.00000 + 0.39208) × 255) = 100 B = round((0.32158 + 0.39208) × 255) = 182
6. RGB → HEX
#FB64B6
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).
- hotpink#FF69B4
- v3 pink-400#F472B6
- v3 pink-500#EC4899
- orchid#DA70D6
- pink-500#F6339A
- rose-400#FF637E
- palevioletred#DB7093
- v3 rose-400#FB7185
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