RGB in HEX: #DB2777
Auch bekannt als: Tailwind v3 pink-600
Ergebnis
rgb(219 39 119) → #DB2777
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #db2777. 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. base 10 → base 16
R = 219 = 13×16 + 11 → DB G = 39 = 2×16 + 7 → 27 B = 119 = 7×16 + 7 → 77
2. pairs → HEX
DB 27 77 → #DB2777
Alle Formate
- HEX
- #db2777
- RGB
- rgb(219 39 119)
- RGB (legacy)
- rgb(219, 39, 119)
- HSL
- hsl(333.33 71.43% 50.59%) → hsl(333 71% 51%)
- HWB
- hwb(333 15% 14%)
- OKLCH
- oklch(0.592 0.218 0.6) · oklch(59.2% 0.218 0.6)
- OKLab
- oklab(0.592 0.218 0.002)
- Lab (D50)
- lab(49.90 70.26 1.96)
- LCH (D50)
- lch(49.90 70.29 1.60)
- Display P3
- color(display-p3 0.7895 0.2297 0.4632)
- Linear sRGB
- color(srgb-linear 0.7084 0.0203 0.1845)
Gamut: sRGB und Display P3
#DB2777 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.240, Display P3 von 0.270; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #db2777;
color: rgb(219 39 119);
color: hsl(333 71% 51%);
color: oklch(0.592 0.218 0.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.592 0.218 0.6);
}
/* arbitrary values */
class="text-[#db2777] bg-[oklch(0.592_0.218_0.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7895 0.2297 0.4632); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #db2777 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- pink-600#E60076
- mediumvioletred#C71585
- pink-700#C6005C
- v3 rose-600#E11D48
- v3 pink-500#EC4899
- v3 pink-700#BE185D
- pink-500#F6339A
- crimson#DC143C
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #F14089 · oklch(0.652 0.218 0.6) · ΔL +0.06
- #C50066 · oklch(0.532 0.218 0.6) · ΔL −0.06