HSL(331, 50%, 64%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,50%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 50%, 64%) color: hsl(331, 50%, 64%)
HEX #D175A2 color: #D175A2
RGB rgb(209, 117, 162) color: rgb(209, 117, 162)
CMYK cmyk(0%, 44%, 22%, 18%)
HSV hsv(331, 44%, 82%)
HWB hwb(331 46% 18%) color: hwb(331 46% 18%)
OKLCH oklch(0.6775 0.1264 350.3) color: oklch(0.6775 0.1264 350.3)
Lab lab(60.68 41.58 -8.21) color: lab(60.68 41.58 -8.21)
LCH lch(60.68 42.38 348.83) color: lch(60.68 42.38 348.83)

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

#A9A897 — rgb(169, 168, 151)

Deuteranopia (Green-blind)

#AFB595 — rgb(175, 181, 149)

Tritanopia (Blue-blind)

#CC8F8D — rgb(204, 143, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 50%, 64%);

text

color: hsl(331, 50%, 64%);

border

border: 2px solid hsl(331, 50%, 64%);

gradient light

background: linear-gradient(to right, hsl(331, 50%, 84%), hsl(331, 50%, 64%));

gradient dark

background: linear-gradient(to right, hsl(331, 50%, 64%), hsl(331, 50%, 44%))

hex

background-color: #D175A2;

tailwind

bg-[hsl(331,50%,64%)]

box shadow

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

css variable

--color-primary: hsl(331, 50%, 64%);

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, 50%, 64%)?

HEX: #D175A2 | RGB: rgb(209, 117, 162) | CMYK: 0%, 44%, 22%, 18% | HSV: 331°, 44%, 82%. Copy any format from the conversion table above.

What colors go well with #D175A2?

The complementary color is HSL(151, 50%, 64%). 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, 50%, 64%) in CSS?

As HSL: color: hsl(331, 50%, 64%); — As HEX: color: #D175A2; — As RGB: color: rgb(209, 117, 162); — Tailwind CSS: bg-[hsl(331,50%,64%)] — CSS variable: --color-primary: hsl(331, 50%, 64%);