HSL(12, 31%, 24%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(12,31%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(12, 31%, 24%) color: hsl(12, 31%, 24%)
HEX #50322A color: #50322A
RGB rgb(80, 50, 42) color: rgb(80, 50, 42)
CMYK cmyk(0%, 38%, 48%, 69%)
HSV hsv(13, 48%, 31%)
HWB hwb(13 16% 69%) color: hwb(13 16% 69%)
OKLCH oklch(0.3511 0.0462 35.62) color: oklch(0.3511 0.0462 35.62)
Lab lab(24.17 12.5 10.69) color: lab(24.17 12.5 10.69)
LCH lch(24.17 16.45 40.54) color: lch(24.17 16.45 40.54)

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 11.47:1
vs Black 1.83: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)

#43432C — rgb(67, 67, 44)

Deuteranopia (Green-blind)

#45472C — rgb(69, 71, 44)

Tritanopia (Blue-blind)

#4F2D2E — rgb(79, 45, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(12, 31%, 24%);

text

color: hsl(12, 31%, 24%);

border

border: 2px solid hsl(12, 31%, 24%);

gradient light

background: linear-gradient(to right, hsl(12, 31%, 44%), hsl(12, 31%, 24%));

gradient dark

background: linear-gradient(to right, hsl(12, 31%, 24%), hsl(12, 31%, 4%))

hex

background-color: #50322A;

tailwind

bg-[hsl(12,31%,24%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(12, 31%, 24%, 0.4);

css variable

--color-primary: hsl(12, 31%, 24%);

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(12, 31%, 24%)?

HEX: #50322A | RGB: rgb(80, 50, 42) | CMYK: 0%, 38%, 48%, 69% | HSV: 13°, 48%, 31%. Copy any format from the conversion table above.

What colors go well with #50322A?

The complementary color is HSL(192, 31%, 24%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(12, 31%, 24%) in CSS?

As HSL: color: hsl(12, 31%, 24%); — As HEX: color: #50322A; — As RGB: color: rgb(80, 50, 42); — Tailwind CSS: bg-[hsl(12,31%,24%)] — CSS variable: --color-primary: hsl(12, 31%, 24%);