HSL(12, 40%, 85%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(12,40%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(12, 40%, 85%) color: hsl(12, 40%, 85%)
HEX #E8D0C9 color: #E8D0C9
RGB rgb(232, 208, 201) color: rgb(232, 208, 201)
CMYK cmyk(0%, 10%, 13%, 9%)
HSV hsv(14, 13%, 91%)
HWB hwb(14 79% 9%) color: hwb(14 79% 9%)
OKLCH oklch(0.8755 0.0286 36.86) color: oklch(0.8755 0.0286 36.86)
Lab lab(85.24 7.21 6.52) color: lab(85.24 7.21 6.52)
LCH lch(85.24 9.72 42.12) color: lch(85.24 9.72 42.12)

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.47:1
vs Black 14.3: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)

#DEDDCB — rgb(222, 221, 203)

Deuteranopia (Green-blind)

#DFE1CB — rgb(223, 225, 203)

Tritanopia (Blue-blind)

#E7CCCC — rgb(231, 204, 204)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(12, 40%, 85%);

text

color: hsl(12, 40%, 85%);

border

border: 2px solid hsl(12, 40%, 85%);

gradient light

background: linear-gradient(to right, hsl(12, 40%, 100%), hsl(12, 40%, 85%));

gradient dark

background: linear-gradient(to right, hsl(12, 40%, 85%), hsl(12, 40%, 65%))

hex

background-color: #E8D0C9;

tailwind

bg-[hsl(12,40%,85%)]

box shadow

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

css variable

--color-primary: hsl(12, 40%, 85%);

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

HEX: #E8D0C9 | RGB: rgb(232, 208, 201) | CMYK: 0%, 10%, 13%, 9% | HSV: 14°, 13%, 91%. Copy any format from the conversion table above.

What colors go well with #E8D0C9?

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

As HSL: color: hsl(12, 40%, 85%); — As HEX: color: #E8D0C9; — As RGB: color: rgb(232, 208, 201); — Tailwind CSS: bg-[hsl(12,40%,85%)] — CSS variable: --color-primary: hsl(12, 40%, 85%);