HSL(357, 95%, 18%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(357,95%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(357, 95%, 18%) color: hsl(357, 95%, 18%)
HEX #5A0207 color: #5A0207
RGB rgb(90, 2, 7) color: rgb(90, 2, 7)
CMYK cmyk(0%, 98%, 92%, 65%)
HSV hsv(357, 98%, 35%)
HWB hwb(357 1% 65%) color: hwb(357 1% 65%)
OKLCH oklch(0.296 0.118 26.21) color: oklch(0.296 0.118 26.21)
Lab lab(16.67 37.04 22.92) color: lab(16.67 37.04 22.92)
LCH lch(16.67 43.56 31.75) color: lch(16.67 43.56 31.75)

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 14.52:1
vs Black 1.45: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)

#343306 — rgb(52, 51, 6)

Deuteranopia (Green-blind)

#394006 — rgb(57, 64, 6)

Tritanopia (Blue-blind)

#560505 — rgb(86, 5, 5)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(357, 95%, 18%);

text

color: hsl(357, 95%, 18%);

border

border: 2px solid hsl(357, 95%, 18%);

gradient light

background: linear-gradient(to right, hsl(357, 95%, 38%), hsl(357, 95%, 18%));

gradient dark

background: linear-gradient(to right, hsl(357, 95%, 18%), hsl(357, 95%, 0%))

hex

background-color: #5A0207;

tailwind

bg-[hsl(357,95%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(357, 95%, 18%, 0.4);

css variable

--color-primary: hsl(357, 95%, 18%);

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(357, 95%, 18%)?

HEX: #5A0207 | RGB: rgb(90, 2, 7) | CMYK: 0%, 98%, 92%, 65% | HSV: 357°, 98%, 35%. Copy any format from the conversion table above.

What colors go well with #5A0207?

The complementary color is HSL(177, 95%, 18%). For a triadic harmony, use hues 357°, 117°, and 237°. For analogous combinations, try hues 327° and 27°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(357, 95%, 18%) in CSS?

As HSL: color: hsl(357, 95%, 18%); — As HEX: color: #5A0207; — As RGB: color: rgb(90, 2, 7); — Tailwind CSS: bg-[hsl(357,95%,18%)] — CSS variable: --color-primary: hsl(357, 95%, 18%);