HSL(334, 40%, 50%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(334,40%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(334, 40%, 50%) color: hsl(334, 40%, 50%)
HEX #B34D79 color: #B34D79
RGB rgb(179, 77, 121) color: rgb(179, 77, 121)
CMYK cmyk(0%, 57%, 32%, 30%)
HSV hsv(334, 57%, 70%)
HWB hwb(334 30% 30%) color: hwb(334 30% 30%)
OKLCH oklch(0.5643 0.1406 355.56) color: oklch(0.5643 0.1406 355.56)
Lab lab(47.33 46.07 -4.36) color: lab(47.33 46.07 -4.36)
LCH lch(47.33 46.28 354.59) color: lch(47.33 46.28 354.59)

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 4.94:1
vs Black 4.25: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)

#87866E — rgb(135, 134, 110)

Deuteranopia (Green-blind)

#8D946C — rgb(141, 148, 108)

Tritanopia (Blue-blind)

#AE6664 — rgb(174, 102, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(334, 40%, 50%);

text

color: hsl(334, 40%, 50%);

border

border: 2px solid hsl(334, 40%, 50%);

gradient light

background: linear-gradient(to right, hsl(334, 40%, 70%), hsl(334, 40%, 50%));

gradient dark

background: linear-gradient(to right, hsl(334, 40%, 50%), hsl(334, 40%, 30%))

hex

background-color: #B34D79;

tailwind

bg-[hsl(334,40%,50%)]

box shadow

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

css variable

--color-primary: hsl(334, 40%, 50%);

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(334, 40%, 50%)?

HEX: #B34D79 | RGB: rgb(179, 77, 121) | CMYK: 0%, 57%, 32%, 30% | HSV: 334°, 57%, 70%. Copy any format from the conversion table above.

What colors go well with #B34D79?

The complementary color is HSL(154, 40%, 50%). For a triadic harmony, use hues 334°, 94°, and 214°. For analogous combinations, try hues 304° and 4°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(334, 40%, 50%) in CSS?

As HSL: color: hsl(334, 40%, 50%); — As HEX: color: #B34D79; — As RGB: color: rgb(179, 77, 121); — Tailwind CSS: bg-[hsl(334,40%,50%)] — CSS variable: --color-primary: hsl(334, 40%, 50%);