HEX to RGB: #460809
Also known as: Tailwind red-950
Result
#460809 → rgb(70 8 9)
Values are shown at full precision, so converting back gives exactly #460809. 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
#460809 → 46 | 08 | 09
2. base 16 → base 10
R = 46₁₆ = 4×16 + 6 = 70 G = 08₁₆ = 0×16 + 8 = 8 B = 09₁₆ = 0×16 + 9 = 9
3. RGB
rgb(70 8 9)
All formats
- HEX
- #460809
- RGB
- rgb(70 8 9)
- RGB (legacy)
- rgb(70, 8, 9)
- HSL
- hsl(359.03 79.49% 15.29%) → hsl(359 79% 15%)
- HWB
- hwb(359 3% 73%)
- OKLCH
- oklch(0.257 0.092 25.8) · oklch(25.7% 0.092 25.8)
- OKLab
- oklab(0.257 0.083 0.040)
- Lab (D50)
- lab(12.94 28.99 16.58)
- LCH (D50)
- lch(12.94 33.39 29.77)
- Display P3
- color(display-p3 0.2498 0.0548 0.0474)
- Linear sRGB
- color(srgb-linear 0.0612 0.0024 0.0027)
Gamut: sRGB and Display P3
#460809 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.105 and Display P3 reaches 0.118; this color uses 88% of the sRGB chroma available.
CSS snippets
.element {
color: #460809;
color: rgb(70 8 9);
color: hsl(359 79% 15%);
color: oklch(0.257 0.092 25.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.257 0.092 25.8);
}
/* arbitrary values */
class="text-[#460809] bg-[oklch(0.257_0.092_25.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2498 0.0548 0.0474); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #460809 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 red-950#450A0A
- orange-950#441306
- v3 orange-950#431407
- v3 rose-950#4C0519
- rose-950#4D0218
- amber-950#461901
- v3 amber-950#451A03
- v3 pink-950#500724
Lighter and darker, same hue and chroma
- #581A18 · oklch(0.317 0.092 25.8) · ΔL +0.06
- #340000 · oklch(0.197 0.092 25.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?