HSL(331, 30%, 45%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(331, 30%, 45%) color: hsl(331, 30%, 45%)
HEX #955072 color: #955072
RGB rgb(149, 80, 114) color: rgb(149, 80, 114)
CMYK cmyk(0%, 46%, 23%, 42%)
HSV hsv(330, 46%, 58%)
HWB hwb(330 31% 42%) color: hwb(330 31% 42%)
OKLCH oklch(0.5241 0.1011 350.25) color: oklch(0.5241 0.1011 350.25)
Lab lab(43.28 33.22 -6.6) color: lab(43.28 33.22 -6.6)
LCH lch(43.28 33.87 348.76) color: lch(43.28 33.87 348.76)

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.72:1
vs Black 3.67: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)

#77776A — rgb(119, 119, 106)

Deuteranopia (Green-blind)

#7B8068 — rgb(123, 128, 104)

Tritanopia (Blue-blind)

#926362 — rgb(146, 99, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(331, 30%, 65%), hsl(331, 30%, 45%));

gradient dark

background: linear-gradient(to right, hsl(331, 30%, 45%), hsl(331, 30%, 25%))

hex

background-color: #955072;

tailwind

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

box shadow

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

css variable

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

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

HEX: #955072 | RGB: rgb(149, 80, 114) | CMYK: 0%, 46%, 23%, 42% | HSV: 330°, 46%, 58%. Copy any format from the conversion table above.

What colors go well with #955072?

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

As HSL: color: hsl(331, 30%, 45%); — As HEX: color: #955072; — As RGB: color: rgb(149, 80, 114); — Tailwind CSS: bg-[hsl(331,30%,45%)] — CSS variable: --color-primary: hsl(331, 30%, 45%);