HSL(330, 20%, 66%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

5000K

CSS Class

bg-[hsl(330,20%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(330, 20%, 66%) color: hsl(330, 20%, 66%)
HEX #BA97A8 color: #BA97A8
RGB rgb(186, 151, 168) color: rgb(186, 151, 168)
CMYK cmyk(0%, 19%, 10%, 27%)
HSV hsv(331, 19%, 73%)
HWB hwb(331 59% 27%) color: hwb(331 59% 27%)
OKLCH oklch(0.7135 0.0476 347.58) color: oklch(0.7135 0.0476 347.58)
Lab lab(66.06 15.87 -3.93) color: lab(66.06 15.87 -3.93)
LCH lch(66.06 16.35 346.09) color: lch(66.06 16.35 346.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.6:1
vs Black 8.08: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)

#ABABA4 — rgb(171, 171, 164)

Deuteranopia (Green-blind)

#ADB0A3 — rgb(173, 176, 163)

Tritanopia (Blue-blind)

#B8A1A0 — rgb(184, 161, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(330, 20%, 66%);

text

color: hsl(330, 20%, 66%);

border

border: 2px solid hsl(330, 20%, 66%);

gradient light

background: linear-gradient(to right, hsl(330, 20%, 86%), hsl(330, 20%, 66%));

gradient dark

background: linear-gradient(to right, hsl(330, 20%, 66%), hsl(330, 20%, 46%))

hex

background-color: #BA97A8;

tailwind

bg-[hsl(330,20%,66%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(330, 20%, 66%, 0.4);

css variable

--color-primary: hsl(330, 20%, 66%);

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(330, 20%, 66%)?

HEX: #BA97A8 | RGB: rgb(186, 151, 168) | CMYK: 0%, 19%, 10%, 27% | HSV: 331°, 19%, 73%. Copy any format from the conversion table above.

What colors go well with #BA97A8?

The complementary color is HSL(150, 20%, 66%). For a triadic harmony, use hues 330°, 90°, and 210°. For analogous combinations, try hues 300° and 0°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(330, 20%, 66%) in CSS?

As HSL: color: hsl(330, 20%, 66%); — As HEX: color: #BA97A8; — As RGB: color: rgb(186, 151, 168); — Tailwind CSS: bg-[hsl(330,20%,66%)] — CSS variable: --color-primary: hsl(330, 20%, 66%);