HEX to RGB: #A3A3A3
Also known as: Tailwind v3 neutral-400
Result
#A3A3A3 → rgb(163 163 163)
Values are shown at full precision, so converting back gives exactly #a3a3a3. 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
#A3A3A3 → A3 | A3 | A3
2. base 16 → base 10
R = A3₁₆ = 10×16 + 3 = 163 G = A3₁₆ = 10×16 + 3 = 163 B = A3₁₆ = 10×16 + 3 = 163
3. RGB
rgb(163 163 163)
All formats
- HEX
- #a3a3a3
- RGB
- rgb(163 163 163)
- RGB (legacy)
- rgb(163, 163, 163)
- HSL
- hsl(0.00 0.00% 63.92%) → hsl(0 0% 64%)
- HWB
- hwb(0 64% 36%)
- OKLCH
- oklch(0.715 0.000 0.0) · oklch(71.5% 0.000 0.0)
- OKLab
- oklab(0.715 0.000 0.000)
- Lab (D50)
- lab(66.99 0.00 0.00)
- LCH (D50)
- lch(66.99 0.00 0.00)
- Display P3
- color(display-p3 0.6392 0.6392 0.6392)
- Linear sRGB
- color(srgb-linear 0.3663 0.3663 0.3663)
Gamut: sRGB and Display P3
#A3A3A3 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.195 and Display P3 reaches 0.252; this color uses 0% of the sRGB chroma available.
CSS snippets
.element {
color: #a3a3a3;
color: rgb(163 163 163);
color: hsl(0 0% 64%);
color: oklch(0.715 0.000 0.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.715 0.000 0.0);
}
/* arbitrary values */
class="text-[#a3a3a3] bg-[oklch(0.715_0.000_0.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6392 0.6392 0.6392); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a3a3a3 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- neutral-400#A1A1A1
- v3 stone-400#A8A29E
- stone-400#A6A09B
- v3 zinc-400#A1A1AA
- taupe-400#ABA09C
- mist-400#9CA8AB
- zinc-400#9F9FA9
- v3 gray-400#9CA3AF
Lighter and darker, same hue and chroma
- #B6B6B6 · oklch(0.775 0.000 0.0) · ΔL +0.06
- #919191 · oklch(0.655 0.000 0.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?