HSL(12, 42%, 82%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(12,42%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(12, 42%, 82%) color: hsl(12, 42%, 82%)
HEX #E4C6BE color: #E4C6BE
RGB rgb(228, 198, 190) color: rgb(228, 198, 190)
CMYK cmyk(0%, 13%, 17%, 11%)
HSV hsv(13, 17%, 89%)
HWB hwb(13 74% 11%) color: hwb(13 74% 11%)
OKLCH oklch(0.8498 0.0359 35.34) color: oklch(0.8498 0.0359 35.34)
Lab lab(82.16 9.3 7.91) color: lab(82.16 9.3 7.91)
LCH lch(82.16 12.21 40.38) color: lch(82.16 12.21 40.38)

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 1.6:1
vs Black 13.12:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#D7D7C0 — rgb(215, 215, 192)

Deuteranopia (Green-blind)

#D9DBC0 — rgb(217, 219, 192)

Tritanopia (Blue-blind)

#E3C1C2 — rgb(227, 193, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(12, 42%, 82%);

text

color: hsl(12, 42%, 82%);

border

border: 2px solid hsl(12, 42%, 82%);

gradient light

background: linear-gradient(to right, hsl(12, 42%, 100%), hsl(12, 42%, 82%));

gradient dark

background: linear-gradient(to right, hsl(12, 42%, 82%), hsl(12, 42%, 62%))

hex

background-color: #E4C6BE;

tailwind

bg-[hsl(12,42%,82%)]

box shadow

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

css variable

--color-primary: hsl(12, 42%, 82%);

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, 42%, 82%)?

HEX: #E4C6BE | RGB: rgb(228, 198, 190) | CMYK: 0%, 13%, 17%, 11% | HSV: 13°, 17%, 89%. Copy any format from the conversion table above.

What colors go well with #E4C6BE?

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

As HSL: color: hsl(12, 42%, 82%); — As HEX: color: #E4C6BE; — As RGB: color: rgb(228, 198, 190); — Tailwind CSS: bg-[hsl(12,42%,82%)] — CSS variable: --color-primary: hsl(12, 42%, 82%);