HEX in HSL: #861043
Auch bekannt als: Tailwind pink-900
Ergebnis
#861043 → hsl(334 79% 29%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #861043. 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.5255 G = 0.0627 B = 0.2627
2. max, min, Δ
max = 0.5255 min = 0.0627 Δ = max − min = 0.4627
3. L
L = (max + min) / 2 = 0.2941 = 29.41%
4. S
S = Δ / (1 − |2L − 1|) = 0.7867 = 78.67%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0627 − 0.2627) / 0.4627) mod 6) = 334.07°
6. HSL
hsl(334.07 78.67% 29.41%)
Alle Formate
- HEX
- #861043
- RGB
- rgb(134 16 67)
- RGB (legacy)
- rgb(134, 16, 67)
- HSL
- hsl(334.07 78.67% 29.41%) → hsl(334 79% 29%)
- HWB
- hwb(334 6% 47%)
- OKLCH
- oklch(0.408 0.153 2.2) · oklch(40.8% 0.153 2.2)
- OKLab
- oklab(0.408 0.153 0.006)
- Lab (D50)
- lab(29.45 49.47 3.14)
- LCH (D50)
- lch(29.45 49.57 3.63)
- Display P3
- color(display-p3 0.4811 0.1173 0.2614)
- Linear sRGB
- color(srgb-linear 0.2384 0.0052 0.0561)
Gamut: sRGB und Display P3
#861043 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.165, Display P3 von 0.186; diese Farbe nutzt 93 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #861043;
color: rgb(134 16 67);
color: hsl(334 79% 29%);
color: oklch(0.408 0.153 2.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.408 0.153 2.2);
}
/* arbitrary values */
class="text-[#861043] bg-[oklch(0.408_0.153_2.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4811 0.1173 0.2614); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #861043 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 pink-900#831843
- v3 rose-900#881337
- rose-900#8B0836
- v3 pink-800#9D174D
- v3 rose-800#9F1239
- pink-800#A3004C
- red-900#82181A
- v3 red-900#7F1D1D
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #9A2853 · oklch(0.468 0.153 2.2) · ΔL +0.06
- #720033 · oklch(0.348 0.153 2.2) · ΔL −0.06