HEX to RGB: #461901
Also known as: Tailwind amber-950
Result
#461901 → rgb(70 25 1)
Values are shown at full precision, so converting back gives exactly #461901. 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
#461901 → 46 | 19 | 01
2. base 16 → base 10
R = 46₁₆ = 4×16 + 6 = 70 G = 19₁₆ = 1×16 + 9 = 25 B = 01₁₆ = 0×16 + 1 = 1
3. RGB
rgb(70 25 1)
All formats
- HEX
- #461901
- RGB
- rgb(70 25 1)
- RGB (legacy)
- rgb(70, 25, 1)
- HSL
- hsl(20.87 97.18% 13.92%) → hsl(21 97% 14%)
- HWB
- hwb(21 0% 73%)
- OKLCH
- oklch(0.279 0.077 45.6) · oklch(27.9% 0.077 45.6)
- OKLab
- oklab(0.279 0.054 0.055)
- Lab (D50)
- lab(15.81 21.02 23.45)
- LCH (D50)
- lch(15.81 31.49 48.13)
- Display P3
- color(display-p3 0.2530 0.1087 0.0262)
- Linear sRGB
- color(srgb-linear 0.0612 0.0097 0.0003)
Gamut: sRGB and Display P3
#461901 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.079 and Display P3 reaches 0.090; this color uses 98% of the sRGB chroma available.
CSS snippets
.element {
color: #461901;
color: rgb(70 25 1);
color: hsl(21 97% 14%);
color: oklch(0.279 0.077 45.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.279 0.077 45.6);
}
/* arbitrary values */
class="text-[#461901] bg-[oklch(0.279_0.077_45.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2530 0.1087 0.0262); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #461901 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 amber-950#451A03
- yellow-950#432004
- v3 yellow-950#422006
- v3 orange-950#431407
- orange-950#441306
- v3 red-950#450A0A
- red-950#460809
- v3 rose-950#4C0519
Lighter and darker, same hue and chroma
- #572911 · oklch(0.339 0.077 45.6) · ΔL +0.06
- #350900 · oklch(0.219 0.077 45.6) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?