HEX to RGB: #DB7093
Also known as: CSS palevioletred
Result
#DB7093 → rgb(219 112 147)
Values are shown at full precision, so converting back gives exactly #db7093. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. HEX → pairs
#DB7093 → DB | 70 | 93
2. base 16 → base 10
R = DB₁₆ = 13×16 + 11 = 219 G = 70₁₆ = 7×16 + 0 = 112 B = 93₁₆ = 9×16 + 3 = 147
3. RGB
rgb(219 112 147)
All formats
- HEX
- #db7093
- RGB
- rgb(219 112 147)
- RGB (legacy)
- rgb(219, 112, 147)
- HSL
- hsl(340.37 59.78% 64.90%) → hsl(340 60% 65%)
- HWB
- hwb(340 44% 14%)
- OKLCH
- oklch(0.678 0.138 0.7) · oklch(67.8% 0.138 0.7)
- OKLab
- oklab(0.678 0.138 0.002)
- Lab (D50)
- lab(60.91 45.40 1.21)
- LCH (D50)
- lch(60.91 45.42 1.53)
- Display P3
- color(display-p3 0.8044 0.4616 0.5744)
- Linear sRGB
- color(srgb-linear 0.7084 0.1620 0.2918)
Gamut: sRGB and Display P3
#DB7093 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.230 and Display P3 reaches 0.295; this color uses 60% of the sRGB chroma available.
CSS snippets
.element {
color: #db7093;
color: rgb(219 112 147);
color: hsl(340 60% 65%);
color: oklch(0.678 0.138 0.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.678 0.138 0.7);
}
/* arbitrary values */
class="text-[#db7093] bg-[oklch(0.678_0.138_0.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8044 0.4616 0.5744); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #db7093 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 rose-400#FB7185
- v3 pink-400#F472B6
- lightcoral#F08080
- rose-400#FF637E
- v3 red-400#F87171
- v3 pink-500#EC4899
- pink-400#FB64B6
- hotpink#FF69B4
Lighter and darker, same hue and chroma
- #F083A5 · oklch(0.738 0.138 0.7) · ΔL +0.06
- #C65E81 · oklch(0.618 0.138 0.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?