HSL(5, 30%, 40%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(5,30%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(5, 30%, 40%) color: hsl(5, 30%, 40%)
HEX #854D47 color: #854D47
RGB rgb(133, 77, 71) color: rgb(133, 77, 71)
CMYK cmyk(0%, 42%, 47%, 48%)
HSV hsv(6, 47%, 52%)
HWB hwb(6 28% 48%) color: hwb(6 28% 48%)
OKLCH oklch(0.4842 0.077 26.79) color: oklch(0.4842 0.077 26.79)
Lab lab(39.16 22.9 13.75) color: lab(39.16 22.9 13.75)
LCH lch(39.16 26.71 30.98) color: lch(39.16 26.71 30.98)

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 6.67:1
vs Black 3.15: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)

#6D6C48 — rgb(109, 108, 72)

Deuteranopia (Green-blind)

#707449 — rgb(112, 116, 73)

Tritanopia (Blue-blind)

#824A4A — rgb(130, 74, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(5, 30%, 40%);

text

color: hsl(5, 30%, 40%);

border

border: 2px solid hsl(5, 30%, 40%);

gradient light

background: linear-gradient(to right, hsl(5, 30%, 60%), hsl(5, 30%, 40%));

gradient dark

background: linear-gradient(to right, hsl(5, 30%, 40%), hsl(5, 30%, 20%))

hex

background-color: #854D47;

tailwind

bg-[hsl(5,30%,40%)]

box shadow

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

css variable

--color-primary: hsl(5, 30%, 40%);

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, 30%, 40%)?

HEX: #854D47 | RGB: rgb(133, 77, 71) | CMYK: 0%, 42%, 47%, 48% | HSV: 6°, 47%, 52%. Copy any format from the conversion table above.

What colors go well with #854D47?

The complementary color is HSL(185, 30%, 40%). 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, 30%, 40%) in CSS?

As HSL: color: hsl(5, 30%, 40%); — As HEX: color: #854D47; — As RGB: color: rgb(133, 77, 71); — Tailwind CSS: bg-[hsl(5,30%,40%)] — CSS variable: --color-primary: hsl(5, 30%, 40%);