HSL(340, 42%, 80%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,42%,80%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 42%, 80%) color: hsl(340, 42%, 80%)
HEX #E1B7C5 color: #E1B7C5
RGB rgb(225, 183, 197) color: rgb(225, 183, 197)
CMYK cmyk(0%, 19%, 12%, 12%)
HSV hsv(340, 19%, 88%)
HWB hwb(340 71% 12%) color: hwb(340 71% 12%)
OKLCH oklch(0.8205 0.0516 356.33) color: oklch(0.8205 0.0516 356.33)
Lab lab(78.41 17.32 -1.34) color: lab(78.41 17.32 -1.34)
LCH lch(78.41 17.37 355.58) color: lch(78.41 17.37 355.58)

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.78:1
vs Black 11.78: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)

#CFCEC2 — rgb(207, 206, 194)

Deuteranopia (Green-blind)

#D1D4C1 — rgb(209, 212, 193)

Tritanopia (Blue-blind)

#DFBFBE — rgb(223, 191, 190)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 42%, 80%);

text

color: hsl(340, 42%, 80%);

border

border: 2px solid hsl(340, 42%, 80%);

gradient light

background: linear-gradient(to right, hsl(340, 42%, 100%), hsl(340, 42%, 80%));

gradient dark

background: linear-gradient(to right, hsl(340, 42%, 80%), hsl(340, 42%, 60%))

hex

background-color: #E1B7C5;

tailwind

bg-[hsl(340,42%,80%)]

box shadow

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

css variable

--color-primary: hsl(340, 42%, 80%);

Related Colors

Use Cases for Pink

Beauty & cosmetics Fashion brands Romantic themes Valentine campaigns Playful UI

Frequently Asked Questions

What are all the color codes for HSL(340, 42%, 80%)?

HEX: #E1B7C5 | RGB: rgb(225, 183, 197) | CMYK: 0%, 19%, 12%, 12% | HSV: 340°, 19%, 88%. Copy any format from the conversion table above.

What colors go well with #E1B7C5?

The complementary color is HSL(160, 42%, 80%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(340, 42%, 80%) in CSS?

As HSL: color: hsl(340, 42%, 80%); — As HEX: color: #E1B7C5; — As RGB: color: rgb(225, 183, 197); — Tailwind CSS: bg-[hsl(340,42%,80%)] — CSS variable: --color-primary: hsl(340, 42%, 80%);