HSL(331, 72%, 29%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,72%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 72%, 29%) color: hsl(331, 72%, 29%)
HEX #7F1548 color: #7F1548
RGB rgb(127, 21, 72) color: rgb(127, 21, 72)
CMYK cmyk(0%, 83%, 43%, 50%)
HSV hsv(331, 83%, 50%)
HWB hwb(331 9% 50%) color: hwb(331 9% 50%)
OKLCH oklch(0.3999 0.1454 357.48) color: oklch(0.3999 0.1454 357.48)
Lab lab(28.16 47.19 -2.65) color: lab(28.16 47.19 -2.65)
LCH lch(28.16 47.26 356.79) color: lch(28.16 47.26 356.79)

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 9.98:1
vs Black 2.1:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#51503C — rgb(81, 80, 60)

Deuteranopia (Green-blind)

#575F39 — rgb(87, 95, 57)

Tritanopia (Blue-blind)

#7A3230 — rgb(122, 50, 48)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 72%, 29%);

text

color: hsl(331, 72%, 29%);

border

border: 2px solid hsl(331, 72%, 29%);

gradient light

background: linear-gradient(to right, hsl(331, 72%, 49%), hsl(331, 72%, 29%));

gradient dark

background: linear-gradient(to right, hsl(331, 72%, 29%), hsl(331, 72%, 9%))

hex

background-color: #7F1548;

tailwind

bg-[hsl(331,72%,29%)]

box shadow

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

css variable

--color-primary: hsl(331, 72%, 29%);

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

HEX: #7F1548 | RGB: rgb(127, 21, 72) | CMYK: 0%, 83%, 43%, 50% | HSV: 331°, 83%, 50%. Copy any format from the conversion table above.

What colors go well with #7F1548?

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

As HSL: color: hsl(331, 72%, 29%); — As HEX: color: #7F1548; — As RGB: color: rgb(127, 21, 72); — Tailwind CSS: bg-[hsl(331,72%,29%)] — CSS variable: --color-primary: hsl(331, 72%, 29%);