HSL(336, 32%, 47%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(336,32%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(336, 32%, 47%) color: hsl(336, 32%, 47%)
HEX #9E5170 color: #9E5170
RGB rgb(158, 81, 112) color: rgb(158, 81, 112)
CMYK cmyk(0%, 49%, 29%, 38%)
HSV hsv(336, 49%, 62%)
HWB hwb(336 32% 38%) color: hwb(336 32% 38%)
OKLCH oklch(0.5373 0.108 355.87) color: oklch(0.5373 0.108 355.87)
Lab lab(44.7 35.62 -3.13) color: lab(44.7 35.62 -3.13)
LCH lch(44.7 35.76 354.98) color: lch(44.7 35.76 354.98)

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 5.43:1
vs Black 3.86:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7D7C68 — rgb(125, 124, 104)

Deuteranopia (Green-blind)

#818767 — rgb(129, 135, 103)

Tritanopia (Blue-blind)

#9A6361 — rgb(154, 99, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(336, 32%, 47%);

text

color: hsl(336, 32%, 47%);

border

border: 2px solid hsl(336, 32%, 47%);

gradient light

background: linear-gradient(to right, hsl(336, 32%, 67%), hsl(336, 32%, 47%));

gradient dark

background: linear-gradient(to right, hsl(336, 32%, 47%), hsl(336, 32%, 27%))

hex

background-color: #9E5170;

tailwind

bg-[hsl(336,32%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(336, 32%, 47%, 0.4);

css variable

--color-primary: hsl(336, 32%, 47%);

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(336, 32%, 47%)?

HEX: #9E5170 | RGB: rgb(158, 81, 112) | CMYK: 0%, 49%, 29%, 38% | HSV: 336°, 49%, 62%. Copy any format from the conversion table above.

What colors go well with #9E5170?

The complementary color is HSL(156, 32%, 47%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(336, 32%, 47%) in CSS?

As HSL: color: hsl(336, 32%, 47%); — As HEX: color: #9E5170; — As RGB: color: rgb(158, 81, 112); — Tailwind CSS: bg-[hsl(336,32%,47%)] — CSS variable: --color-primary: hsl(336, 32%, 47%);