HSL(350, 78%, 21%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(350,78%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(350, 78%, 21%) color: hsl(350, 78%, 21%)
HEX #5F0C1A color: #5F0C1A
RGB rgb(95, 12, 26) color: rgb(95, 12, 26)
CMYK cmyk(0%, 87%, 73%, 63%)
HSV hsv(350, 87%, 37%)
HWB hwb(350 5% 63%) color: hwb(350 5% 63%)
OKLCH oklch(0.3169 0.1141 18.54) color: oklch(0.3169 0.1141 18.54)
Lab lab(19.1 36.51 15.44) color: lab(19.1 36.51 15.44)
LCH lch(19.1 39.64 22.92) color: lch(19.1 39.64 22.92)

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 13.51:1
vs Black 1.55:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3B3A17 — rgb(59, 58, 23)

Deuteranopia (Green-blind)

#404616 — rgb(64, 70, 22)

Tritanopia (Blue-blind)

#5B1413 — rgb(91, 20, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(350, 78%, 21%);

text

color: hsl(350, 78%, 21%);

border

border: 2px solid hsl(350, 78%, 21%);

gradient light

background: linear-gradient(to right, hsl(350, 78%, 41%), hsl(350, 78%, 21%));

gradient dark

background: linear-gradient(to right, hsl(350, 78%, 21%), hsl(350, 78%, 1%))

hex

background-color: #5F0C1A;

tailwind

bg-[hsl(350,78%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(350, 78%, 21%, 0.4);

css variable

--color-primary: hsl(350, 78%, 21%);

Related Colors

Use Cases for Red

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

Frequently Asked Questions

What are all the color codes for HSL(350, 78%, 21%)?

HEX: #5F0C1A | RGB: rgb(95, 12, 26) | CMYK: 0%, 87%, 73%, 63% | HSV: 350°, 87%, 37%. Copy any format from the conversion table above.

What colors go well with #5F0C1A?

The complementary color is HSL(170, 78%, 21%). For a triadic harmony, use hues 350°, 110°, and 230°. For analogous combinations, try hues 320° and 20°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(350, 78%, 21%) in CSS?

As HSL: color: hsl(350, 78%, 21%); — As HEX: color: #5F0C1A; — As RGB: color: rgb(95, 12, 26); — Tailwind CSS: bg-[hsl(350,78%,21%)] — CSS variable: --color-primary: hsl(350, 78%, 21%);