HSL(345, 90%, 19%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(345,90%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(345, 90%, 19%) color: hsl(345, 90%, 19%)
HEX #5C051B color: #5C051B
RGB rgb(92, 5, 27) color: rgb(92, 5, 27)
CMYK cmyk(0%, 95%, 71%, 64%)
HSV hsv(345, 95%, 36%)
HWB hwb(345 2% 64%) color: hwb(345 2% 64%)
OKLCH oklch(0.3058 0.1165 15.3) color: oklch(0.3058 0.1165 15.3)
Lab lab(17.75 37.59 12.88) color: lab(17.75 37.59 12.88)
LCH lch(17.75 39.74 18.91) color: lch(17.75 39.74 18.91)

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.07:1
vs Black 1.49: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)

#363616 — rgb(54, 54, 22)

Deuteranopia (Green-blind)

#3B4214 — rgb(59, 66, 20)

Tritanopia (Blue-blind)

#581111 — rgb(88, 17, 17)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(345, 90%, 19%);

text

color: hsl(345, 90%, 19%);

border

border: 2px solid hsl(345, 90%, 19%);

gradient light

background: linear-gradient(to right, hsl(345, 90%, 39%), hsl(345, 90%, 19%));

gradient dark

background: linear-gradient(to right, hsl(345, 90%, 19%), hsl(345, 90%, 0%))

hex

background-color: #5C051B;

tailwind

bg-[hsl(345,90%,19%)]

box shadow

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

css variable

--color-primary: hsl(345, 90%, 19%);

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(345, 90%, 19%)?

HEX: #5C051B | RGB: rgb(92, 5, 27) | CMYK: 0%, 95%, 71%, 64% | HSV: 345°, 95%, 36%. Copy any format from the conversion table above.

What colors go well with #5C051B?

The complementary color is HSL(165, 90%, 19%). 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, 90%, 19%) in CSS?

As HSL: color: hsl(345, 90%, 19%); — As HEX: color: #5C051B; — As RGB: color: rgb(92, 5, 27); — Tailwind CSS: bg-[hsl(345,90%,19%)] — CSS variable: --color-primary: hsl(345, 90%, 19%);