HSL(331, 72%, 38%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(331, 72%, 38%) color: hsl(331, 72%, 38%)
HEX #A71B5F color: #A71B5F
RGB rgb(167, 27, 95) color: rgb(167, 27, 95)
CMYK cmyk(0%, 84%, 43%, 35%)
HSV hsv(331, 84%, 65%)
HWB hwb(331 10% 35%) color: hwb(331 10% 35%)
OKLCH oklch(0.4852 0.1802 357.78) color: oklch(0.4852 0.1802 357.78)
Lab lab(37.53 58.48 -2.93) color: lab(37.53 58.48 -2.93)
LCH lch(37.53 58.55 357.13) color: lch(37.53 58.55 357.13)

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

#6A694F — rgb(106, 105, 79)

Deuteranopia (Green-blind)

#737D4B — rgb(115, 125, 75)

Tritanopia (Blue-blind)

#A0423F — rgb(160, 66, 63)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(331, 72%, 58%), hsl(331, 72%, 38%));

gradient dark

background: linear-gradient(to right, hsl(331, 72%, 38%), hsl(331, 72%, 18%))

hex

background-color: #A71B5F;

tailwind

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

box shadow

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

css variable

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

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

HEX: #A71B5F | RGB: rgb(167, 27, 95) | CMYK: 0%, 84%, 43%, 35% | HSV: 331°, 84%, 65%. Copy any format from the conversion table above.

What colors go well with #A71B5F?

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

As HSL: color: hsl(331, 72%, 38%); — As HEX: color: #A71B5F; — As RGB: color: rgb(167, 27, 95); — Tailwind CSS: bg-[hsl(331,72%,38%)] — CSS variable: --color-primary: hsl(331, 72%, 38%);