HSL in HEX: #C6005C
Auch bekannt als: Tailwind pink-700
Ergebnis
hsl(332.12 100.00% 38.82%) → #C6005C
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #c6005c. 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 = 332.12°, S = 100.00%, L = 38.82%
2. C
C = (1 − |2L − 1|) × S = 0.77640
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.36077 (H / 60° = 5.5353, sector 5)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.77640, 0.00000, 0.36077) R = round((0.77640 + 0.00000) × 255) = 198 G = round((0.00000 + 0.00000) × 255) = 0 B = round((0.36077 + 0.00000) × 255) = 92
6. RGB → HEX
#C6005C
Alle Formate
- HEX
- #c6005c
- RGB
- rgb(198 0 92)
- RGB (legacy)
- rgb(198, 0, 92)
- HSL
- hsl(332.12 100.00% 38.82%) → hsl(332 100% 39%)
- HWB
- hwb(332 0% 22%)
- OKLCH
- oklch(0.532 0.214 4.8) · oklch(53.2% 0.214 4.8)
- OKLab
- oklab(0.532 0.213 0.018)
- Lab (D50)
- lab(43.08 69.00 8.37)
- LCH (D50)
- lch(43.08 69.50 6.92)
- Display P3
- color(display-p3 0.7114 0.1462 0.3609)
- Linear sRGB
- color(srgb-linear 0.5647 0.0000 0.1070)
Gamut: sRGB und Display P3
#C6005C 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.214, Display P3 von 0.241; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #c6005c;
color: rgb(198 0 92);
color: hsl(332 100% 39%);
color: oklch(0.532 0.214 4.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.532 0.214 4.8);
}
/* arbitrary values */
class="text-[#c6005c] bg-[oklch(0.532_0.214_4.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7114 0.1462 0.3609); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #c6005c calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 pink-700#BE185D
- v3 rose-700#BE123C
- rose-700#C70036
- mediumvioletred#C71585
- v3 pink-600#DB2777
- crimson#DC143C
- pink-600#E60076
- v3 rose-600#E11D48
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #DC2A6D · oklch(0.592 0.214 4.8) · ΔL +0.06
- #B0004B · oklch(0.472 0.214 4.8) · ΔL −0.06