HEX in RGB: #510424
Auch bekannt als: Tailwind pink-950
Ergebnis
#510424 → rgb(81 4 36)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #510424. 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. HEX → pairs
#510424 → 51 | 04 | 24
2. base 16 → base 10
R = 51₁₆ = 5×16 + 1 = 81 G = 04₁₆ = 0×16 + 4 = 4 B = 24₁₆ = 2×16 + 4 = 36
3. RGB
rgb(81 4 36)
Alle Formate
- HEX
- #510424
- RGB
- rgb(81 4 36)
- RGB (legacy)
- rgb(81, 4, 36)
- HSL
- hsl(335.06 90.59% 16.67%) → hsl(335 91% 17%)
- HWB
- hwb(335 2% 68%)
- OKLCH
- oklch(0.284 0.109 3.6) · oklch(28.4% 0.109 3.6)
- OKLab
- oklab(0.284 0.109 0.007)
- Lab (D50)
- lab(15.62 35.16 3.29)
- LCH (D50)
- lch(15.62 35.32 5.34)
- Display P3
- color(display-p3 0.2890 0.0497 0.1408)
- Linear sRGB
- color(srgb-linear 0.0823 0.0012 0.0176)
Gamut: sRGB und Display P3
#510424 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.114, Display P3 von 0.129; diese Farbe nutzt 95 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #510424;
color: rgb(81 4 36);
color: hsl(335 91% 17%);
color: oklch(0.284 0.109 3.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.284 0.109 3.6);
}
/* arbitrary values */
class="text-[#510424] bg-[oklch(0.284_0.109_3.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2890 0.0497 0.1408); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #510424 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 pink-950#500724
- rose-950#4D0218
- v3 rose-950#4C0519
- red-950#460809
- v3 red-950#450A0A
- orange-950#441306
- v3 orange-950#431407
- amber-950#461901
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #631933 · oklch(0.344 0.109 3.6) · ΔL +0.06
- #3F0016 · oklch(0.224 0.109 3.6) · ΔL −0.06