HSL(339, 40%, 39%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(339,40%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(339, 40%, 39%) color: hsl(339, 40%, 39%)
HEX #8B3C58 color: #8B3C58
RGB rgb(139, 60, 88) color: rgb(139, 60, 88)
CMYK cmyk(0%, 57%, 37%, 45%)
HSV hsv(339, 57%, 55%)
HWB hwb(339 24% 45%) color: hwb(339 24% 45%)
OKLCH oklch(0.4696 0.1116 0.05) color: oklch(0.4696 0.1116 0.05)
Lab lab(36.79 36.66 -0.14) color: lab(36.79 36.66 -0.14)
LCH lch(36.79 36.66 359.78) color: lch(36.79 36.66 359.78)

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.28:1
vs Black 2.89: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)

#696851 — rgb(105, 104, 81)

Deuteranopia (Green-blind)

#6D7350 — rgb(109, 115, 80)

Tritanopia (Blue-blind)

#874C4B — rgb(135, 76, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(339, 40%, 39%);

text

color: hsl(339, 40%, 39%);

border

border: 2px solid hsl(339, 40%, 39%);

gradient light

background: linear-gradient(to right, hsl(339, 40%, 59%), hsl(339, 40%, 39%));

gradient dark

background: linear-gradient(to right, hsl(339, 40%, 39%), hsl(339, 40%, 19%))

hex

background-color: #8B3C58;

tailwind

bg-[hsl(339,40%,39%)]

box shadow

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

css variable

--color-primary: hsl(339, 40%, 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(339, 40%, 39%)?

HEX: #8B3C58 | RGB: rgb(139, 60, 88) | CMYK: 0%, 57%, 37%, 45% | HSV: 339°, 57%, 55%. Copy any format from the conversion table above.

What colors go well with #8B3C58?

The complementary color is HSL(159, 40%, 39%). For a triadic harmony, use hues 339°, 99°, and 219°. For analogous combinations, try hues 309° and 9°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(339, 40%, 39%) in CSS?

As HSL: color: hsl(339, 40%, 39%); — As HEX: color: #8B3C58; — As RGB: color: rgb(139, 60, 88); — Tailwind CSS: bg-[hsl(339,40%,39%)] — CSS variable: --color-primary: hsl(339, 40%, 39%);