HSL(331, 52%, 69%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,52%,69%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 52%, 69%) color: hsl(331, 52%, 69%)
HEX #D987AF color: #D987AF
RGB rgb(217, 135, 175) color: rgb(217, 135, 175)
CMYK cmyk(0%, 38%, 19%, 15%)
HSV hsv(331, 38%, 85%)
HWB hwb(331 53% 15%) color: hwb(331 53% 15%)
OKLCH oklch(0.7203 0.1115 349.59) color: oklch(0.7203 0.1115 349.59)
Lab lab(65.89 36.79 -7.76) color: lab(65.89 36.79 -7.76)
LCH lch(65.89 37.6 348.09) color: lch(65.89 37.6 348.09)

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

#B5B5A5 — rgb(181, 181, 165)

Deuteranopia (Green-blind)

#BAC0A3 — rgb(186, 192, 163)

Tritanopia (Blue-blind)

#D59E9C — rgb(213, 158, 156)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 52%, 69%);

text

color: hsl(331, 52%, 69%);

border

border: 2px solid hsl(331, 52%, 69%);

gradient light

background: linear-gradient(to right, hsl(331, 52%, 89%), hsl(331, 52%, 69%));

gradient dark

background: linear-gradient(to right, hsl(331, 52%, 69%), hsl(331, 52%, 49%))

hex

background-color: #D987AF;

tailwind

bg-[hsl(331,52%,69%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(331, 52%, 69%, 0.4);

css variable

--color-primary: hsl(331, 52%, 69%);

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(331, 52%, 69%)?

HEX: #D987AF | RGB: rgb(217, 135, 175) | CMYK: 0%, 38%, 19%, 15% | HSV: 331°, 38%, 85%. Copy any format from the conversion table above.

What colors go well with #D987AF?

The complementary color is HSL(151, 52%, 69%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(331, 52%, 69%) in CSS?

As HSL: color: hsl(331, 52%, 69%); — As HEX: color: #D987AF; — As RGB: color: rgb(217, 135, 175); — Tailwind CSS: bg-[hsl(331,52%,69%)] — CSS variable: --color-primary: hsl(331, 52%, 69%);