HSL(342, 62%, 62%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,62%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 62%, 62%) color: hsl(342, 62%, 62%)
HEX #DA6286 color: #DA6286
RGB rgb(218, 98, 134) color: rgb(218, 98, 134)
CMYK cmyk(0%, 55%, 39%, 15%)
HSV hsv(342, 55%, 85%)
HWB hwb(342 38% 15%) color: hwb(342 38% 15%)
OKLCH oklch(0.6529 0.154 3.49) color: oklch(0.6529 0.154 3.49)
Lab lab(57.43 50.49 3.38) color: lab(57.43 50.49 3.38)
LCH lch(57.43 50.6 3.83) color: lch(57.43 50.6 3.83)

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 3.46:1
vs Black 6.07:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A6A57D — rgb(166, 165, 125)

Deuteranopia (Green-blind)

#ADB67B — rgb(173, 182, 123)

Tritanopia (Blue-blind)

#D47675 — rgb(212, 118, 117)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 62%, 62%);

text

color: hsl(342, 62%, 62%);

border

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

gradient light

background: linear-gradient(to right, hsl(342, 62%, 82%), hsl(342, 62%, 62%));

gradient dark

background: linear-gradient(to right, hsl(342, 62%, 62%), hsl(342, 62%, 42%))

hex

background-color: #DA6286;

tailwind

bg-[hsl(342,62%,62%)]

box shadow

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

css variable

--color-primary: hsl(342, 62%, 62%);

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

HEX: #DA6286 | RGB: rgb(218, 98, 134) | CMYK: 0%, 55%, 39%, 15% | HSV: 342°, 55%, 85%. Copy any format from the conversion table above.

What colors go well with #DA6286?

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

As HSL: color: hsl(342, 62%, 62%); — As HEX: color: #DA6286; — As RGB: color: rgb(218, 98, 134); — Tailwind CSS: bg-[hsl(342,62%,62%)] — CSS variable: --color-primary: hsl(342, 62%, 62%);