HSL(342, 30%, 59%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,30%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 30%, 59%) color: hsl(342, 30%, 59%)
HEX #B6778A color: #B6778A
RGB rgb(182, 119, 138) color: rgb(182, 119, 138)
CMYK cmyk(0%, 35%, 24%, 29%)
HSV hsv(342, 35%, 71%)
HWB hwb(342 46% 29%) color: hwb(342 46% 29%)
OKLCH oklch(0.6403 0.0824 0.09) color: oklch(0.6403 0.0824 0.09)
Lab lab(57.05 27.35 -0.09) color: lab(57.05 27.35 -0.09)
LCH lch(57.05 27.35 359.81) color: lch(57.05 27.35 359.81)

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

#9B9A85 — rgb(155, 154, 133)

Deuteranopia (Green-blind)

#9EA384 — rgb(158, 163, 132)

Tritanopia (Blue-blind)

#B38281 — rgb(179, 130, 129)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 30%, 59%);

text

color: hsl(342, 30%, 59%);

border

border: 2px solid hsl(342, 30%, 59%);

gradient light

background: linear-gradient(to right, hsl(342, 30%, 79%), hsl(342, 30%, 59%));

gradient dark

background: linear-gradient(to right, hsl(342, 30%, 59%), hsl(342, 30%, 39%))

hex

background-color: #B6778A;

tailwind

bg-[hsl(342,30%,59%)]

box shadow

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

css variable

--color-primary: hsl(342, 30%, 59%);

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, 30%, 59%)?

HEX: #B6778A | RGB: rgb(182, 119, 138) | CMYK: 0%, 35%, 24%, 29% | HSV: 342°, 35%, 71%. Copy any format from the conversion table above.

What colors go well with #B6778A?

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

As HSL: color: hsl(342, 30%, 59%); — As HEX: color: #B6778A; — As RGB: color: rgb(182, 119, 138); — Tailwind CSS: bg-[hsl(342,30%,59%)] — CSS variable: --color-primary: hsl(342, 30%, 59%);