HEX in HSL: #BE185D
Auch bekannt als: Tailwind v3 pink-700
Ergebnis
#BE185D → hsl(335 78% 42%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #be185d. 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.7451 G = 0.0941 B = 0.3647
2. max, min, Δ
max = 0.7451 min = 0.0941 Δ = max − min = 0.6510
3. L
L = (max + min) / 2 = 0.4196 = 41.96%
4. S
S = Δ / (1 − |2L − 1|) = 0.7757 = 77.57%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.0941 − 0.3647) / 0.6510) mod 6) = 335.06°
6. HSL
hsl(335.06 77.57% 41.96%)
Alle Formate
- HEX
- #be185d
- RGB
- rgb(190 24 93)
- RGB (legacy)
- rgb(190, 24, 93)
- HSL
- hsl(335.06 77.57% 41.96%) → hsl(335 78% 42%)
- HWB
- hwb(335 9% 25%)
- OKLCH
- oklch(0.525 0.199 4.0) · oklch(52.5% 0.199 4.0)
- OKLab
- oklab(0.525 0.198 0.014)
- Lab (D50)
- lab(42.42 64.31 6.52)
- LCH (D50)
- lch(42.42 64.64 5.79)
- Display P3
- color(display-p3 0.6837 0.1753 0.3642)
- Linear sRGB
- color(srgb-linear 0.5149 0.0091 0.1095)
Gamut: sRGB und Display P3
#BE185D 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.211, Display P3 von 0.238; diese Farbe nutzt 94 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #be185d;
color: rgb(190 24 93);
color: hsl(335 78% 42%);
color: oklch(0.525 0.199 4.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.525 0.199 4.0);
}
/* arbitrary values */
class="text-[#be185d] bg-[oklch(0.525_0.199_4.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6837 0.1753 0.3642); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #be185d calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- pink-700#C6005C
- v3 rose-700#BE123C
- rose-700#C70036
- mediumvioletred#C71585
- pink-800#A3004C
- v3 pink-600#DB2777
- v3 pink-800#9D174D
- rose-800#A50036
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #D3336E · oklch(0.585 0.199 4.0) · ΔL +0.06
- #A9004C · oklch(0.465 0.199 4.0) · ΔL −0.06