HEX to RGB: #431407

Also known as: Tailwind v3 orange-950

Result

#431407 → rgb(67 20 7)

Values are shown at full precision, so converting back gives exactly #431407. 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. 1. HEX → pairs

    #431407 → 43 | 14 | 07
  2. 2. base 16 → base 10

    R = 43₁₆ = 4×16 + 3 = 67
    G = 14₁₆ = 1×16 + 4 = 20
    B = 07₁₆ = 0×16 + 7 = 7
  3. 3. RGB

    rgb(67 20 7)

All formats

HEX
#431407
RGB
rgb(67 20 7)
RGB (legacy)
rgb(67, 20, 7)
HSL
hsl(13.00 81.08% 14.51%) → hsl(13 81% 15%)
HWB
hwb(13 3% 74%)
OKLCH
oklch(0.266 0.076 36.3) · oklch(26.6% 0.076 36.3)
OKLab
oklab(0.266 0.061 0.045)
Lab (D50)
lab(14.19 22.57 18.85)
LCH (D50)
lch(14.19 29.41 39.86)
Display P3
color(display-p3 0.2412 0.0906 0.0438)
Linear sRGB
color(srgb-linear 0.0561 0.0070 0.0021)

Gamut: sRGB and Display P3

#431407 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.091 and Display P3 reaches 0.102; this color uses 84% of the sRGB chroma available.

CSS snippets

.element {
  color: #431407;
  color: rgb(67 20 7);
  color: hsl(13 81% 15%);
  color: oklch(0.266 0.076 36.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.266 0.076 36.3);
}
/* arbitrary values */
class="text-[#431407] bg-[oklch(0.266_0.076_36.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2412 0.0906 0.0438); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #431407 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #542416 · oklch(0.326 0.076 36.3) · ΔL +0.06
  • #320400 · oklch(0.206 0.076 36.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?