HSL(7, 87%, 51%)

Vivid Red — Red color

Adjust Color

Color Information

Color Name

Vivid Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(7,87%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(7, 87%, 51%) color: hsl(7, 87%, 51%)
HEX #EF2F15 color: #EF2F15
RGB rgb(239, 47, 21) color: rgb(239, 47, 21)
CMYK cmyk(0%, 80%, 91%, 6%)
HSV hsv(7, 91%, 94%)
HWB hwb(7 8% 6%) color: hwb(7 8% 6%)
OKLCH oklch(0.6159 0.2282 31.05) color: oklch(0.6159 0.2282 31.05)
Lab lab(52.34 69.72 59.35) color: lab(52.34 69.72 59.35)
LCH lch(52.34 91.56 40.41) color: lch(52.34 91.56 40.41)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 4.13:1
vs Black 5.09:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9C9A1B — rgb(156, 154, 27)

Deuteranopia (Green-blind)

#A7B51D — rgb(167, 181, 29)

Tritanopia (Blue-blind)

#E52021 — rgb(229, 32, 33)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(7, 87%, 51%);

text

color: hsl(7, 87%, 51%);

border

border: 2px solid hsl(7, 87%, 51%);

gradient light

background: linear-gradient(to right, hsl(7, 87%, 71%), hsl(7, 87%, 51%));

gradient dark

background: linear-gradient(to right, hsl(7, 87%, 51%), hsl(7, 87%, 31%))

hex

background-color: #EF2F15;

tailwind

bg-[hsl(7,87%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(7, 87%, 51%, 0.4);

css variable

--color-primary: hsl(7, 87%, 51%);

Related Colors

Use Cases for Vivid Red

Alerts & errors Call-to-action buttons Brand logos Sale badges Warning messages

Frequently Asked Questions

What are all the color codes for HSL(7, 87%, 51%)?

HEX: #EF2F15 | RGB: rgb(239, 47, 21) | CMYK: 0%, 80%, 91%, 6% | HSV: 7°, 91%, 94%. Copy any format from the conversion table above.

What colors go well with #EF2F15?

The complementary color is HSL(187, 87%, 51%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(7, 87%, 51%) in CSS?

As HSL: color: hsl(7, 87%, 51%); — As HEX: color: #EF2F15; — As RGB: color: rgb(239, 47, 21); — Tailwind CSS: bg-[hsl(7,87%,51%)] — CSS variable: --color-primary: hsl(7, 87%, 51%);