Brown Classic

#A52A2A

Nearest Tailwind V4 Match
red-800
95.0% Match
Implementation
bg-red-800
text-red-800

Color Code Conversions

HEX Code
#A52A2A
RGB Value
rgb(165, 42, 42)
HSL Value
hsl(0, 59%, 41%)
OKLCH CSS (v4)
oklch(0.481 0.160 25.6)

Full Calculated Scale

50
#ffefed
100
#ffded8
200
#ffbdb4
300
#ff9d93
400
#f1776f
500
#d55852
600
#b8403c
700
#a0312f
800
#872423
900
#751f1e
950
#4e0d0d

Technical Background

Converting Brown Classic (#A52A2A) to Tailwind CSS requires more than just picking the nearest hex. Our algorithm uses CIEDE2000, a perceptual color difference formula that accounts for how human vision processes lightness, chroma, and hue.

The generated scale follows the Tailwind CSS v4 OKLCH standard, ensuring perfectly uniform weight across the entire spectrum. This prevents common issues like "hue shifting" where colors turn purple or grey as they get darker or lighter. You can customize this further in our Palette Generator.

Other colors matching red-800

Frequently Asked Questions

What is the closest Tailwind class for Brown Classic?

The closest visually matching Tailwind CSS class for Brown Classic (#A52A2A) is red-800. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 95.0%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-red-800 for the best out-of-the-box match, or add #A52A2A directly to your Tailwind theme configuration for 100% brand accuracy.

Why use OKLCH for this scale?

Tailwind CSS v4 uses OKLCH because it is perceptually uniform. When we generate the 50-950 scale for Brown Classic, OKLCH ensures that the color stays vibrant and doesn't shift towards different hues as it gets lighter or darker.

Need a custom palette?

Use our professional-grade generator to create a full theme from any custom hex code.

Open Palette Generator