HSL(340, 50%, 41%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,50%,41%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 50%, 41%) color: hsl(340, 50%, 41%)
HEX #9D3457 color: #9D3457
RGB rgb(157, 52, 87) color: rgb(157, 52, 87)
CMYK cmyk(0%, 67%, 45%, 38%)
HSV hsv(340, 67%, 62%)
HWB hwb(340 20% 38%) color: hwb(340 20% 38%)
OKLCH oklch(0.4874 0.1421 3.54) color: oklch(0.4874 0.1421 3.54)
Lab lab(38.4 46.42 3.2) color: lab(38.4 46.42 3.2)
LCH lch(38.4 46.53 3.94) color: lch(38.4 46.53 3.94)

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.86:1
vs Black 3.06: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)

#706F4F — rgb(112, 111, 79)

Deuteranopia (Green-blind)

#767E4D — rgb(118, 126, 77)

Tritanopia (Blue-blind)

#984846 — rgb(152, 72, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 50%, 41%);

text

color: hsl(340, 50%, 41%);

border

border: 2px solid hsl(340, 50%, 41%);

gradient light

background: linear-gradient(to right, hsl(340, 50%, 61%), hsl(340, 50%, 41%));

gradient dark

background: linear-gradient(to right, hsl(340, 50%, 41%), hsl(340, 50%, 21%))

hex

background-color: #9D3457;

tailwind

bg-[hsl(340,50%,41%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(340, 50%, 41%, 0.4);

css variable

--color-primary: hsl(340, 50%, 41%);

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(340, 50%, 41%)?

HEX: #9D3457 | RGB: rgb(157, 52, 87) | CMYK: 0%, 67%, 45%, 38% | HSV: 340°, 67%, 62%. Copy any format from the conversion table above.

What colors go well with #9D3457?

The complementary color is HSL(160, 50%, 41%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(340, 50%, 41%) in CSS?

As HSL: color: hsl(340, 50%, 41%); — As HEX: color: #9D3457; — As RGB: color: rgb(157, 52, 87); — Tailwind CSS: bg-[hsl(340,50%,41%)] — CSS variable: --color-primary: hsl(340, 50%, 41%);