HSL(342, 27%, 63%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,27%,63%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 27%, 63%) color: hsl(342, 27%, 63%)
HEX #BA8796 color: #BA8796
RGB rgb(186, 135, 150) color: rgb(186, 135, 150)
CMYK cmyk(0%, 27%, 19%, 27%)
HSV hsv(342, 27%, 73%)
HWB hwb(342 53% 27%) color: hwb(342 53% 27%)
OKLCH oklch(0.6776 0.0654 359.68) color: oklch(0.6776 0.0654 359.68)
Lab lab(61.63 21.78 -0.26) color: lab(61.63 21.78 -0.26)
LCH lch(61.63 21.78 359.32) color: lch(61.63 21.78 359.32)

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:1
vs Black 6.99: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)

#A4A392 — rgb(164, 163, 146)

Deuteranopia (Green-blind)

#A7AB92 — rgb(167, 171, 146)

Tritanopia (Blue-blind)

#B7908F — rgb(183, 144, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 27%, 63%);

text

color: hsl(342, 27%, 63%);

border

border: 2px solid hsl(342, 27%, 63%);

gradient light

background: linear-gradient(to right, hsl(342, 27%, 83%), hsl(342, 27%, 63%));

gradient dark

background: linear-gradient(to right, hsl(342, 27%, 63%), hsl(342, 27%, 43%))

hex

background-color: #BA8796;

tailwind

bg-[hsl(342,27%,63%)]

box shadow

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

css variable

--color-primary: hsl(342, 27%, 63%);

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, 27%, 63%)?

HEX: #BA8796 | RGB: rgb(186, 135, 150) | CMYK: 0%, 27%, 19%, 27% | HSV: 342°, 27%, 73%. Copy any format from the conversion table above.

What colors go well with #BA8796?

The complementary color is HSL(162, 27%, 63%). 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, 27%, 63%) in CSS?

As HSL: color: hsl(342, 27%, 63%); — As HEX: color: #BA8796; — As RGB: color: rgb(186, 135, 150); — Tailwind CSS: bg-[hsl(342,27%,63%)] — CSS variable: --color-primary: hsl(342, 27%, 63%);