HSL(358, 80%, 46%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(358,80%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(358, 80%, 46%) color: hsl(358, 80%, 46%)
HEX #D3171E color: #D3171E
RGB rgb(211, 23, 30) color: rgb(211, 23, 30)
CMYK cmyk(0%, 89%, 86%, 17%)
HSV hsv(358, 89%, 83%)
HWB hwb(358 9% 17%) color: hwb(358 9% 17%)
OKLCH oklch(0.5522 0.2154 27.08) color: oklch(0.5522 0.2154 27.08)
Lab lab(45.03 67.29 47.66) color: lab(45.03 67.29 47.66)
LCH lch(45.03 82.46 35.31) color: lch(45.03 82.46 35.31)

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 5.37:1
vs Black 3.91:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#82801C — rgb(130, 128, 28)

Deuteranopia (Green-blind)

#8D9B1C — rgb(141, 155, 28)

Tritanopia (Blue-blind)

#CA1B1B — rgb(202, 27, 27)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(358, 80%, 46%);

text

color: hsl(358, 80%, 46%);

border

border: 2px solid hsl(358, 80%, 46%);

gradient light

background: linear-gradient(to right, hsl(358, 80%, 66%), hsl(358, 80%, 46%));

gradient dark

background: linear-gradient(to right, hsl(358, 80%, 46%), hsl(358, 80%, 26%))

hex

background-color: #D3171E;

tailwind

bg-[hsl(358,80%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(358, 80%, 46%, 0.4);

css variable

--color-primary: hsl(358, 80%, 46%);

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(358, 80%, 46%)?

HEX: #D3171E | RGB: rgb(211, 23, 30) | CMYK: 0%, 89%, 86%, 17% | HSV: 358°, 89%, 83%. Copy any format from the conversion table above.

What colors go well with #D3171E?

The complementary color is HSL(178, 80%, 46%). For a triadic harmony, use hues 358°, 118°, and 238°. For analogous combinations, try hues 328° and 28°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(358, 80%, 46%) in CSS?

As HSL: color: hsl(358, 80%, 46%); — As HEX: color: #D3171E; — As RGB: color: rgb(211, 23, 30); — Tailwind CSS: bg-[hsl(358,80%,46%)] — CSS variable: --color-primary: hsl(358, 80%, 46%);