HEX to RGB: #861043
Also known as: Tailwind pink-900
Result
#861043 → rgb(134 16 67)
Values are shown at full precision, so converting back gives exactly #861043. 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
#861043 → 86 | 10 | 43
2. base 16 → base 10
R = 86₁₆ = 8×16 + 6 = 134 G = 10₁₆ = 1×16 + 0 = 16 B = 43₁₆ = 4×16 + 3 = 67
3. RGB
rgb(134 16 67)
All formats
- HEX
- #861043
- RGB
- rgb(134 16 67)
- RGB (legacy)
- rgb(134, 16, 67)
- HSL
- hsl(334.07 78.67% 29.41%) → hsl(334 79% 29%)
- HWB
- hwb(334 6% 47%)
- OKLCH
- oklch(0.408 0.153 2.2) · oklch(40.8% 0.153 2.2)
- OKLab
- oklab(0.408 0.153 0.006)
- Lab (D50)
- lab(29.45 49.47 3.14)
- LCH (D50)
- lch(29.45 49.57 3.63)
- Display P3
- color(display-p3 0.4811 0.1173 0.2614)
- Linear sRGB
- color(srgb-linear 0.2384 0.0052 0.0561)
Gamut: sRGB and Display P3
#861043 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.165 and Display P3 reaches 0.186; this color uses 93% of the sRGB chroma available.
CSS snippets
.element {
color: #861043;
color: rgb(134 16 67);
color: hsl(334 79% 29%);
color: oklch(0.408 0.153 2.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.408 0.153 2.2);
}
/* arbitrary values */
class="text-[#861043] bg-[oklch(0.408_0.153_2.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4811 0.1173 0.2614); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #861043 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 pink-900#831843
- v3 rose-900#881337
- rose-900#8B0836
- v3 pink-800#9D174D
- v3 rose-800#9F1239
- pink-800#A3004C
- red-900#82181A
- v3 red-900#7F1D1D
Lighter and darker, same hue and chroma
- #9A2853 · oklch(0.468 0.153 2.2) · ΔL +0.06
- #720033 · oklch(0.348 0.153 2.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?