HSL(342, 75%, 49%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,75%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 75%, 49%) color: hsl(342, 75%, 49%)
HEX #DB1F57 color: #DB1F57
RGB rgb(219, 31, 87) color: rgb(219, 31, 87)
CMYK cmyk(0%, 86%, 60%, 14%)
HSV hsv(342, 86%, 86%)
HWB hwb(342 12% 14%) color: hwb(342 12% 14%)
OKLCH oklch(0.5789 0.2168 11.95) color: oklch(0.5789 0.2168 11.95)
Lab lab(47.92 70.22 18.23) color: lab(47.92 70.22 18.23)
LCH lch(47.92 72.55 14.55) color: lch(47.92 72.55 14.55)

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.83:1
vs Black 4.35: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)

#8A8849 — rgb(138, 136, 73)

Deuteranopia (Green-blind)

#95A346 — rgb(149, 163, 70)

Tritanopia (Blue-blind)

#D23F3C — rgb(210, 63, 60)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 75%, 49%);

text

color: hsl(342, 75%, 49%);

border

border: 2px solid hsl(342, 75%, 49%);

gradient light

background: linear-gradient(to right, hsl(342, 75%, 69%), hsl(342, 75%, 49%));

gradient dark

background: linear-gradient(to right, hsl(342, 75%, 49%), hsl(342, 75%, 29%))

hex

background-color: #DB1F57;

tailwind

bg-[hsl(342,75%,49%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(342, 75%, 49%, 0.4);

css variable

--color-primary: hsl(342, 75%, 49%);

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(342, 75%, 49%)?

HEX: #DB1F57 | RGB: rgb(219, 31, 87) | CMYK: 0%, 86%, 60%, 14% | HSV: 342°, 86%, 86%. Copy any format from the conversion table above.

What colors go well with #DB1F57?

The complementary color is HSL(162, 75%, 49%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 75%, 49%) in CSS?

As HSL: color: hsl(342, 75%, 49%); — As HEX: color: #DB1F57; — As RGB: color: rgb(219, 31, 87); — Tailwind CSS: bg-[hsl(342,75%,49%)] — CSS variable: --color-primary: hsl(342, 75%, 49%);