HSL(12, 20%, 48%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(12,20%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(12, 20%, 48%) color: hsl(12, 20%, 48%)
HEX #936C62 color: #936C62
RGB rgb(147, 108, 98) color: rgb(147, 108, 98)
CMYK cmyk(0%, 27%, 33%, 42%)
HSV hsv(12, 33%, 58%)
HWB hwb(12 39% 42%) color: hwb(12 39% 42%)
OKLCH oklch(0.568 0.0526 34.86) color: oklch(0.568 0.0526 34.86)
Lab lab(49.27 14.08 11.68) color: lab(49.27 14.08 11.68)
LCH lch(49.27 18.29 39.68) color: lch(49.27 18.29 39.68)

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.6:1
vs Black 4.56:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#828264 — rgb(130, 130, 100)

Deuteranopia (Green-blind)

#848765 — rgb(132, 135, 101)

Tritanopia (Blue-blind)

#916667 — rgb(145, 102, 103)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(12, 20%, 48%);

text

color: hsl(12, 20%, 48%);

border

border: 2px solid hsl(12, 20%, 48%);

gradient light

background: linear-gradient(to right, hsl(12, 20%, 68%), hsl(12, 20%, 48%));

gradient dark

background: linear-gradient(to right, hsl(12, 20%, 48%), hsl(12, 20%, 28%))

hex

background-color: #936C62;

tailwind

bg-[hsl(12,20%,48%)]

box shadow

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

css variable

--color-primary: hsl(12, 20%, 48%);

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, 20%, 48%)?

HEX: #936C62 | RGB: rgb(147, 108, 98) | CMYK: 0%, 27%, 33%, 42% | HSV: 12°, 33%, 58%. Copy any format from the conversion table above.

What colors go well with #936C62?

The complementary color is HSL(192, 20%, 48%). 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, 20%, 48%) in CSS?

As HSL: color: hsl(12, 20%, 48%); — As HEX: color: #936C62; — As RGB: color: rgb(147, 108, 98); — Tailwind CSS: bg-[hsl(12,20%,48%)] — CSS variable: --color-primary: hsl(12, 20%, 48%);