HSL(320, 82%, 39%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(320,82%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(320, 82%, 39%) color: hsl(320, 82%, 39%)
HEX #B5127F color: #B5127F
RGB rgb(181, 18, 127) color: rgb(181, 18, 127)
CMYK cmyk(0%, 90%, 30%, 29%)
HSV hsv(320, 90%, 71%)
HWB hwb(320 7% 29%) color: hwb(320 7% 29%)
OKLCH oklch(0.5184 0.2098 347.08) color: oklch(0.5184 0.2098 347.08)
Lab lab(40.88 66.86 -17.72) color: lab(40.88 66.86 -17.72)
LCH lch(40.88 69.17 345.16) color: lch(40.88 69.17 345.16)

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 6.25:1
vs Black 3.36: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)

#6E6D65 — rgb(110, 109, 101)

Deuteranopia (Green-blind)

#78845E — rgb(120, 132, 94)

Tritanopia (Blue-blind)

#AD504B — rgb(173, 80, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(320, 82%, 39%);

text

color: hsl(320, 82%, 39%);

border

border: 2px solid hsl(320, 82%, 39%);

gradient light

background: linear-gradient(to right, hsl(320, 82%, 59%), hsl(320, 82%, 39%));

gradient dark

background: linear-gradient(to right, hsl(320, 82%, 39%), hsl(320, 82%, 19%))

hex

background-color: #B5127F;

tailwind

bg-[hsl(320,82%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(320, 82%, 39%, 0.4);

css variable

--color-primary: hsl(320, 82%, 39%);

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(320, 82%, 39%)?

HEX: #B5127F | RGB: rgb(181, 18, 127) | CMYK: 0%, 90%, 30%, 29% | HSV: 320°, 90%, 71%. Copy any format from the conversion table above.

What colors go well with #B5127F?

The complementary color is HSL(140, 82%, 39%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(320, 82%, 39%) in CSS?

As HSL: color: hsl(320, 82%, 39%); — As HEX: color: #B5127F; — As RGB: color: rgb(181, 18, 127); — Tailwind CSS: bg-[hsl(320,82%,39%)] — CSS variable: --color-primary: hsl(320, 82%, 39%);