HSL(331, 30%, 55%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,30%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 30%, 55%) color: hsl(331, 30%, 55%)
HEX #AF6A8B color: #AF6A8B
RGB rgb(175, 106, 139) color: rgb(175, 106, 139)
CMYK cmyk(0%, 39%, 21%, 31%)
HSV hsv(331, 39%, 69%)
HWB hwb(331 42% 31%) color: hwb(331 42% 31%)
OKLCH oklch(0.6097 0.0973 350.25) color: oklch(0.6097 0.0973 350.25)
Lab lab(53.26 32.13 -6.36) color: lab(53.26 32.13 -6.36)
LCH lch(53.26 32.75 348.8) color: lch(53.26 32.75 348.8)

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

#919183 — rgb(145, 145, 131)

Deuteranopia (Green-blind)

#959A81 — rgb(149, 154, 129)

Tritanopia (Blue-blind)

#AC7D7B — rgb(172, 125, 123)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 30%, 55%);

text

color: hsl(331, 30%, 55%);

border

border: 2px solid hsl(331, 30%, 55%);

gradient light

background: linear-gradient(to right, hsl(331, 30%, 75%), hsl(331, 30%, 55%));

gradient dark

background: linear-gradient(to right, hsl(331, 30%, 55%), hsl(331, 30%, 35%))

hex

background-color: #AF6A8B;

tailwind

bg-[hsl(331,30%,55%)]

box shadow

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

css variable

--color-primary: hsl(331, 30%, 55%);

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

HEX: #AF6A8B | RGB: rgb(175, 106, 139) | CMYK: 0%, 39%, 21%, 31% | HSV: 331°, 39%, 69%. Copy any format from the conversion table above.

What colors go well with #AF6A8B?

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

As HSL: color: hsl(331, 30%, 55%); — As HEX: color: #AF6A8B; — As RGB: color: rgb(175, 106, 139); — Tailwind CSS: bg-[hsl(331,30%,55%)] — CSS variable: --color-primary: hsl(331, 30%, 55%);