HSL(345, 100%, 50%)

Vivid Red — Red color

Adjust Color

Color Information

Color Name

Vivid Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(345,100%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(345, 100%, 50%) color: hsl(345, 100%, 50%)
HEX #FF0040 color: #FF0040
RGB rgb(255, 0, 64) color: rgb(255, 0, 64)
CMYK cmyk(0%, 100%, 75%, 0%)
HSV hsv(345, 100%, 100%)
HWB hwb(345 0% 0%) color: hwb(345 0% 0%)
OKLCH oklch(0.6322 0.2542 20.85) color: oklch(0.6322 0.2542 20.85)
Lab lab(53.64 81.18 40.7) color: lab(53.64 81.18 40.7)
LCH lch(53.64 90.81 26.63) color: lch(53.64 90.81 26.63)

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 3.94:1
vs Black 5.33: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)

#918E31 — rgb(145, 142, 49)

Deuteranopia (Green-blind)

#9FB32D — rgb(159, 179, 45)

Tritanopia (Blue-blind)

#F22422 — rgb(242, 36, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(345, 100%, 50%);

text

color: hsl(345, 100%, 50%);

border

border: 2px solid hsl(345, 100%, 50%);

gradient light

background: linear-gradient(to right, hsl(345, 100%, 70%), hsl(345, 100%, 50%));

gradient dark

background: linear-gradient(to right, hsl(345, 100%, 50%), hsl(345, 100%, 30%))

hex

background-color: #FF0040;

tailwind

bg-[hsl(345,100%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(345, 100%, 50%, 0.4);

css variable

--color-primary: hsl(345, 100%, 50%);

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(345, 100%, 50%)?

HEX: #FF0040 | RGB: rgb(255, 0, 64) | CMYK: 0%, 100%, 75%, 0% | HSV: 345°, 100%, 100%. Copy any format from the conversion table above.

What colors go well with #FF0040?

The complementary color is HSL(165, 100%, 50%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(345, 100%, 50%) in CSS?

As HSL: color: hsl(345, 100%, 50%); — As HEX: color: #FF0040; — As RGB: color: rgb(255, 0, 64); — Tailwind CSS: bg-[hsl(345,100%,50%)] — CSS variable: --color-primary: hsl(345, 100%, 50%);