HSL in HEX: #FCA5A5
Auch bekannt als: Tailwind v3 red-300
Ergebnis
hsl(0.00 93.55% 81.76%) → #FCA5A5
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #fca5a5. 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 = 0.00°, S = 93.55%, L = 81.76%
2. C
C = (1 − |2L − 1|) × S = 0.34127
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00000 (H / 60° = 0.0000, sector 0)
4. m
m = L − C / 2 = 0.64696
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.34127, 0.00000, 0.00000) R = round((0.34127 + 0.64696) × 255) = 252 G = round((0.00000 + 0.64696) × 255) = 165 B = round((0.00000 + 0.64696) × 255) = 165
6. RGB → HEX
#FCA5A5
Alle Formate
- HEX
- #fca5a5
- RGB
- rgb(252 165 165)
- RGB (legacy)
- rgb(252, 165, 165)
- HSL
- hsl(0.00 93.55% 81.76%) → hsl(0 94% 82%)
- HWB
- hwb(0 65% 1%)
- OKLCH
- oklch(0.808 0.103 19.6) · oklch(80.8% 0.103 19.6)
- OKLab
- oklab(0.808 0.098 0.035)
- Lab (D50)
- lab(76.63 33.05 14.04)
- LCH (D50)
- lch(76.63 35.91 23.01)
- Display P3
- color(display-p3 0.9393 0.6622 0.6549)
- Linear sRGB
- color(srgb-linear 0.9734 0.3763 0.3763)
Gamut: sRGB und Display P3
#FCA5A5 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.109, Display P3 von 0.141; diese Farbe nutzt 95 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #fca5a5;
color: rgb(252 165 165);
color: hsl(0 94% 82%);
color: oklch(0.808 0.103 19.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.808 0.103 19.6);
}
/* arbitrary values */
class="text-[#fca5a5] bg-[oklch(0.808_0.103_19.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9393 0.6622 0.6549); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fca5a5 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- red-300#FFA2A2
- v3 rose-300#FDA4AF
- rose-300#FFA1AD
- lightpink#FFB6C1
- lightsalmon#FFA07A
- v3 pink-300#F9A8D4
- pink-300#FDA5D5
- darksalmon#E9967A
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #FFB8B8 · oklch(0.868 0.103 19.6) · ΔL +0.06
- #E79293 · oklch(0.748 0.103 19.6) · ΔL −0.06