HSL(342, 40%, 57%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,40%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 40%, 57%) color: hsl(342, 40%, 57%)
HEX #BD6580 color: #BD6580
RGB rgb(189, 101, 128) color: rgb(189, 101, 128)
CMYK cmyk(0%, 47%, 32%, 26%)
HSV hsv(342, 47%, 74%)
HWB hwb(342 39% 26%) color: hwb(342 39% 26%)
OKLCH oklch(0.6158 0.1161 1.49) color: oklch(0.6158 0.1161 1.49)
Lab lab(53.69 38.27 0.97) color: lab(53.69 38.27 0.97)
LCH lch(53.69 38.28 1.45) color: lch(53.69 38.28 1.45)

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 3.93:1
vs Black 5.34:1

AA Normal (4.5:1)

on White: FAIL ✗ 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: black

Color Blindness Simulation

Protanopia (Red-blind)

#979679 — rgb(151, 150, 121)

Deuteranopia (Green-blind)

#9CA378 — rgb(156, 163, 120)

Tritanopia (Blue-blind)

#B97473 — rgb(185, 116, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 40%, 57%);

text

color: hsl(342, 40%, 57%);

border

border: 2px solid hsl(342, 40%, 57%);

gradient light

background: linear-gradient(to right, hsl(342, 40%, 77%), hsl(342, 40%, 57%));

gradient dark

background: linear-gradient(to right, hsl(342, 40%, 57%), hsl(342, 40%, 37%))

hex

background-color: #BD6580;

tailwind

bg-[hsl(342,40%,57%)]

box shadow

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

css variable

--color-primary: hsl(342, 40%, 57%);

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(342, 40%, 57%)?

HEX: #BD6580 | RGB: rgb(189, 101, 128) | CMYK: 0%, 47%, 32%, 26% | HSV: 342°, 47%, 74%. Copy any format from the conversion table above.

What colors go well with #BD6580?

The complementary color is HSL(162, 40%, 57%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 40%, 57%) in CSS?

As HSL: color: hsl(342, 40%, 57%); — As HEX: color: #BD6580; — As RGB: color: rgb(189, 101, 128); — Tailwind CSS: bg-[hsl(342,40%,57%)] — CSS variable: --color-primary: hsl(342, 40%, 57%);