HSL(2, 51%, 85%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,51%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 51%, 85%) color: hsl(2, 51%, 85%)
HEX #ECC7C5 color: #ECC7C5
RGB rgb(236, 199, 197) color: rgb(236, 199, 197)
CMYK cmyk(0%, 16%, 17%, 7%)
HSV hsv(3, 17%, 93%)
HWB hwb(3 77% 7%) color: hwb(3 77% 7%)
OKLCH oklch(0.8608 0.0422 21.66) color: oklch(0.8608 0.0422 21.66)
Lab lab(83.29 12.75 5.88) color: lab(83.29 12.75 5.88)
LCH lch(83.29 14.04 24.76) color: lch(83.29 14.04 24.76)

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.55:1
vs Black 13.54: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)

#DCDCC5 — rgb(220, 220, 197)

Deuteranopia (Green-blind)

#DEE1C6 — rgb(222, 225, 198)

Tritanopia (Blue-blind)

#EAC6C6 — rgb(234, 198, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 51%, 85%);

text

color: hsl(2, 51%, 85%);

border

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

gradient light

background: linear-gradient(to right, hsl(2, 51%, 100%), hsl(2, 51%, 85%));

gradient dark

background: linear-gradient(to right, hsl(2, 51%, 85%), hsl(2, 51%, 65%))

hex

background-color: #ECC7C5;

tailwind

bg-[hsl(2,51%,85%)]

box shadow

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

css variable

--color-primary: hsl(2, 51%, 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(2, 51%, 85%)?

HEX: #ECC7C5 | RGB: rgb(236, 199, 197) | CMYK: 0%, 16%, 17%, 7% | HSV: 3°, 17%, 93%. Copy any format from the conversion table above.

What colors go well with #ECC7C5?

The complementary color is HSL(182, 51%, 85%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(2, 51%, 85%) in CSS?

As HSL: color: hsl(2, 51%, 85%); — As HEX: color: #ECC7C5; — As RGB: color: rgb(236, 199, 197); — Tailwind CSS: bg-[hsl(2,51%,85%)] — CSS variable: --color-primary: hsl(2, 51%, 85%);