HSL(5, 20%, 49%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(5,20%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(5, 20%, 49%) color: hsl(5, 20%, 49%)
HEX #966864 color: #966864
RGB rgb(150, 104, 100) color: rgb(150, 104, 100)
CMYK cmyk(0%, 31%, 33%, 41%)
HSV hsv(5, 33%, 59%)
HWB hwb(5 40% 41%) color: hwb(5 40% 41%)
OKLCH oklch(0.5641 0.06 24.69) color: oklch(0.5641 0.06 24.69)
Lab lab(48.64 17.91 9.67) color: lab(48.64 17.91 9.67)
LCH lch(48.64 20.35 28.37) color: lch(48.64 20.35 28.37)

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 4.71:1
vs Black 4.46: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)

#828265 — rgb(130, 130, 101)

Deuteranopia (Green-blind)

#858865 — rgb(133, 136, 101)

Tritanopia (Blue-blind)

#946666 — rgb(148, 102, 102)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(5, 20%, 49%);

text

color: hsl(5, 20%, 49%);

border

border: 2px solid hsl(5, 20%, 49%);

gradient light

background: linear-gradient(to right, hsl(5, 20%, 69%), hsl(5, 20%, 49%));

gradient dark

background: linear-gradient(to right, hsl(5, 20%, 49%), hsl(5, 20%, 29%))

hex

background-color: #966864;

tailwind

bg-[hsl(5,20%,49%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(5, 20%, 49%, 0.4);

css variable

--color-primary: hsl(5, 20%, 49%);

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(5, 20%, 49%)?

HEX: #966864 | RGB: rgb(150, 104, 100) | CMYK: 0%, 31%, 33%, 41% | HSV: 5°, 33%, 59%. Copy any format from the conversion table above.

What colors go well with #966864?

The complementary color is HSL(185, 20%, 49%). For a triadic harmony, use hues 5°, 125°, and 245°. For analogous combinations, try hues 335° and 35°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(5, 20%, 49%) in CSS?

As HSL: color: hsl(5, 20%, 49%); — As HEX: color: #966864; — As RGB: color: rgb(150, 104, 100); — Tailwind CSS: bg-[hsl(5,20%,49%)] — CSS variable: --color-primary: hsl(5, 20%, 49%);