HSL in HEX: #991B1B
Auch bekannt als: Tailwind v3 red-800
Ergebnis
hsl(0.00 70.00% 35.29%) → #991B1B
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #991b1b. 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. input
H = 0.00°, S = 70.00%, L = 35.29%
2. C
C = (1 − |2L − 1|) × S = 0.49406
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00000 (H / 60° = 0.0000, sector 0)
4. m
m = L − C / 2 = 0.10587
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.49406, 0.00000, 0.00000) R = round((0.49406 + 0.10587) × 255) = 153 G = round((0.00000 + 0.10587) × 255) = 27 B = round((0.00000 + 0.10587) × 255) = 27
6. RGB → HEX
#991B1B
Alle Formate
- HEX
- #991b1b
- RGB
- rgb(153 27 27)
- RGB (legacy)
- rgb(153, 27, 27)
- HSL
- hsl(0.00 70.00% 35.29%) → hsl(0 70% 35%)
- HWB
- hwb(0 11% 40%)
- OKLCH
- oklch(0.444 0.161 26.9) · oklch(44.4% 0.161 26.9)
- OKLab
- oklab(0.444 0.144 0.073)
- Lab (D50)
- lab(33.86 50.80 35.41)
- LCH (D50)
- lch(33.86 61.92 34.88)
- Display P3
- color(display-p3 0.5506 0.1567 0.1344)
- Linear sRGB
- color(srgb-linear 0.3185 0.0110 0.0110)
Gamut: sRGB und Display P3
#991B1B 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.181, Display P3 von 0.204; diese Farbe nutzt 89 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #991b1b;
color: rgb(153 27 27);
color: hsl(0 70% 35%);
color: oklch(0.444 0.161 26.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.444 0.161 26.9);
}
/* arbitrary values */
class="text-[#991b1b] bg-[oklch(0.444_0.161_26.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5506 0.1567 0.1344); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #991b1b calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- red-800#9F0712
- brown#A52A2A
- orange-800#9F2D00
- v3 rose-800#9F1239
- v3 orange-800#9A3412
- darkred#8B0000
- rose-800#A50036
- red-900#82181A
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #AE322D · oklch(0.504 0.161 26.9) · ΔL +0.06
- #850006 · oklch(0.384 0.161 26.9) · ΔL −0.06