HSL(334, 50%, 22%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(334, 50%, 22%) color: hsl(334, 50%, 22%)
HEX #541C34 color: #541C34
RGB rgb(84, 28, 52) color: rgb(84, 28, 52)
CMYK cmyk(0%, 67%, 38%, 67%)
HSV hsv(334, 67%, 33%)
HWB hwb(334 11% 67%) color: hwb(334 11% 67%)
OKLCH oklch(0.3209 0.0877 356.56) color: oklch(0.3209 0.0877 356.56)
Lab lab(19.9 28.68 -2.14) color: lab(19.9 28.68 -2.14)
LCH lch(19.9 28.76 355.73) color: lch(19.9 28.76 355.73)

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 13.19:1
vs Black 1.59: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)

#3C3B2E — rgb(60, 59, 46)

Deuteranopia (Green-blind)

#3F432D — rgb(63, 67, 45)

Tritanopia (Blue-blind)

#512A29 — rgb(81, 42, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(334, 50%, 42%), hsl(334, 50%, 22%));

gradient dark

background: linear-gradient(to right, hsl(334, 50%, 22%), hsl(334, 50%, 2%))

hex

background-color: #541C34;

tailwind

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

box shadow

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

css variable

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

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

HEX: #541C34 | RGB: rgb(84, 28, 52) | CMYK: 0%, 67%, 38%, 67% | HSV: 334°, 67%, 33%. Copy any format from the conversion table above.

What colors go well with #541C34?

The complementary color is HSL(154, 50%, 22%). 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, 50%, 22%) in CSS?

As HSL: color: hsl(334, 50%, 22%); — As HEX: color: #541C34; — As RGB: color: rgb(84, 28, 52); — Tailwind CSS: bg-[hsl(334,50%,22%)] — CSS variable: --color-primary: hsl(334, 50%, 22%);