HEX in OKLCH: #F43F5E

Auch bekannt als: Tailwind v3 rose-500

Ergebnis

#F43F5E → oklch(0.645 0.215 16.4)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #f43f5e. 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. 1. sRGB → linear

    R: 244/255 = 0.95686 → 0.904661  (((x + 0.055) / 1.055)^2.4)
    G: 63/255 = 0.24706 → 0.049707  (((x + 0.055) / 1.055)^2.4)
    B: 94/255 = 0.36863 → 0.111932  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.405338
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.237557
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.164402
  3. 3. cube root

    l′ = ∛0.405338 = 0.740070
    m′ = ∛0.237557 = 0.619331
    s′ = ∛0.164402 = 0.547817
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.64503
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.20660
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.06096
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.21540
    H = atan2(b, a) = 16.439°
    L = 0.64503
  6. 6. OKLCH

    oklch(0.64503 0.21540 16.439)
    rounded: oklch(0.645 0.215 16.4)

Alle Formate

HEX
#f43f5e
RGB
rgb(244 63 94)
RGB (legacy)
rgb(244, 63, 94)
HSL
hsl(349.72 89.16% 60.20%) → hsl(350 89% 60%)
HWB
hwb(350 25% 4%)
OKLCH
oklch(0.645 0.215 16.4) · oklch(64.5% 0.215 16.4)
OKLab
oklab(0.645 0.207 0.061)
Lab (D50)
lab(56.46 69.58 26.83)
LCH (D50)
lch(56.46 74.57 21.09)
Display P3
color(display-p3 0.8823 0.3096 0.3826)
Linear sRGB
color(srgb-linear 0.9047 0.0497 0.1119)

Gamut: sRGB und Display P3

#F43F5E 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.244, Display P3 von 0.291; diese Farbe nutzt 88 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #f43f5e;
  color: rgb(244 63 94);
  color: hsl(350 89% 60%);
  color: oklch(0.645 0.215 16.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.645 0.215 16.4);
}
/* arbitrary values */
class="text-[#f43f5e] bg-[oklch(0.645_0.215_16.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8823 0.3096 0.3826); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f43f5e calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #FF5570 · oklch(0.705 0.215 16.4) · ΔL +0.06
  • #DE254D · oklch(0.585 0.215 16.4) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →