HEX naar HSL: #FFE4E6
Ook bekend als: Tailwind rose-100, Tailwind v3 rose-100
Resultaat
#FFE4E6 → hsl(356 100% 95%)
Waarden staan op volle precisie, dus terugrekenen geeft exact #ffe4e6. De afgeronde vorm plak je gewoonlijk in CSS.
Stap-voor-stap berekening
Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.
1. RGB ÷ 255
R = 1.0000 G = 0.8941 B = 0.9020
2. max, min, Δ
max = 1.0000 min = 0.8941 Δ = max − min = 0.1059
3. L
L = (max + min) / 2 = 0.9471 = 94.71%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.8941 − 0.9020) / 0.1059) mod 6) = 355.56°
6. HSL
hsl(355.56 100.00% 94.71%)
Alle formaten
- HEX
- #ffe4e6
- RGB
- rgb(255 228 230)
- RGB (legacy)
- rgb(255, 228, 230)
- HSL
- hsl(355.56 100.00% 94.71%) → hsl(356 100% 95%)
- HWB
- hwb(356 89% 0%)
- OKLCH
- oklch(0.941 0.030 12.6) · oklch(94.1% 0.030 12.6)
- OKLab
- oklab(0.941 0.029 0.006)
- Lab (D50)
- lab(92.87 9.80 2.58)
- LCH (D50)
- lch(92.87 10.13 14.76)
- Display P3
- color(display-p3 0.9823 0.8979 0.9032)
- Linear sRGB
- color(srgb-linear 1.0000 0.7758 0.7913)
Gamut: sRGB en Display P3
#FFE4E6 is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.030 en Display P3 van 0.039; deze kleur gebruikt 100% van de beschikbare sRGB-chroma.
CSS-snippets
.element {
color: #ffe4e6;
color: rgb(255 228 230);
color: hsl(356 100% 95%);
color: oklch(0.941 0.030 12.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.941 0.030 12.6);
}
/* arbitrary values */
class="text-[#ffe4e6] bg-[oklch(0.941_0.030_12.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9823 0.8979 0.9032); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffe4e6 calc(l - 0.1) c h); }Kleuren in de buurt
Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).
- red-100#FFE2E2
- v3 red-100#FEE2E2
- mistyrose#FFE4E1
- pink-100#FCE7F3
- lavenderblush#FFF0F5
- linen#FAF0E6
- rose-50#FFF1F2
- fuchsia-100#FAE8FF
Lichter en donkerder, dezelfde tint en chroma
- #FFF7F9 · oklch(1.000 0.030 12.6) · ΔL +0.06
- #EBD0D2 · oklch(0.881 0.030 12.6) · ΔL −0.06