Firebrick Classic

#B22222

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

Color Code Conversions

HEX Code
#B22222
RGB Value
rgb(178, 34, 34)
HSL Value
hsl(0, 68%, 42%)
OKLCH CSS (v4)
oklch(0.497 0.180 26.8)

Full Calculated Scale

50
#ffefeb
100
#ffdcd5
200
#ffb9ae
300
#ff978b
400
#fa7065
500
#dd4f47
600
#c03531
700
#a72624
800
#8d1a19
900
#7a1616
950
#520507

Technical Background

Converting Firebrick Classic (#B22222) 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.

Frequently Asked Questions

What is the closest Tailwind class for Firebrick Classic?

The closest visually matching Tailwind CSS class for Firebrick Classic (#B22222) is red-700. 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-700 for the best out-of-the-box match, or add #B22222 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 Firebrick 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