HSL(342, 74%, 39%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,74%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 74%, 39%) color: hsl(342, 74%, 39%)
HEX #AD1A46 color: #AD1A46
RGB rgb(173, 26, 70) color: rgb(173, 26, 70)
CMYK cmyk(0%, 85%, 60%, 32%)
HSV hsv(342, 85%, 68%)
HWB hwb(342 10% 32%) color: hwb(342 10% 32%)
OKLCH oklch(0.4883 0.1797 11.06) color: oklch(0.4883 0.1797 11.06)
Lab lab(37.96 58.26 13.88) color: lab(37.96 58.26 13.88)
LCH lch(37.96 59.89 13.4) color: lch(37.96 59.89 13.4)

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.97:1
vs Black 3.01: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)

#6D6C3B — rgb(109, 108, 59)

Deuteranopia (Green-blind)

#768139 — rgb(118, 129, 57)

Tritanopia (Blue-blind)

#A63331 — rgb(166, 51, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 74%, 39%);

text

color: hsl(342, 74%, 39%);

border

border: 2px solid hsl(342, 74%, 39%);

gradient light

background: linear-gradient(to right, hsl(342, 74%, 59%), hsl(342, 74%, 39%));

gradient dark

background: linear-gradient(to right, hsl(342, 74%, 39%), hsl(342, 74%, 19%))

hex

background-color: #AD1A46;

tailwind

bg-[hsl(342,74%,39%)]

box shadow

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

css variable

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

HEX: #AD1A46 | RGB: rgb(173, 26, 70) | CMYK: 0%, 85%, 60%, 32% | HSV: 342°, 85%, 68%. Copy any format from the conversion table above.

What colors go well with #AD1A46?

The complementary color is HSL(162, 74%, 39%). 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, 74%, 39%) in CSS?

As HSL: color: hsl(342, 74%, 39%); — As HEX: color: #AD1A46; — As RGB: color: rgb(173, 26, 70); — Tailwind CSS: bg-[hsl(342,74%,39%)] — CSS variable: --color-primary: hsl(342, 74%, 39%);