Red Prime

#EF4444

Nearest Tailwind V4 Match
red-500
97.2% Match
Implementation
bg-red-500
text-red-500

Color Code Conversions

HEX Code
#EF4444
RGB Value
rgb(239, 68, 68)
HSL Value
hsl(0, 84%, 60%)
OKLCH CSS (v4)
oklch(0.637 0.208 25.3)

Full Calculated Scale

50
#ffeeeb
100
#ffd9d3
200
#ffb3aa
300
#ff8e85
400
#ff645e
500
#e93e3f
600
#ca1e28
700
#b0081b
800
#960011
900
#82000e
950
#570002

Technical Background

Converting Red Prime (#EF4444) 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-500

Frequently Asked Questions

What is the closest Tailwind class for Red Prime?

The closest visually matching Tailwind CSS class for Red Prime (#EF4444) is red-500. Our algorithm calculates this using the CIEDE2000 ΔE standard, which shows a match score of 97.2%.

How do I use this color in my Tailwind config?

You have two options: use the native class bg-red-500 for the best out-of-the-box match, or add #EF4444 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 Red Prime, 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 Generator