HSL(340, 80%, 72%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,80%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 80%, 72%) color: hsl(340, 80%, 72%)
HEX #F17EA5 color: #F17EA5
RGB rgb(241, 126, 165) color: rgb(241, 126, 165)
CMYK cmyk(0%, 48%, 32%, 5%)
HSV hsv(340, 48%, 95%)
HWB hwb(340 49% 5%) color: hwb(340 49% 5%)
OKLCH oklch(0.7326 0.1463 359.79) color: oklch(0.7326 0.1463 359.79)
Lab lab(66.78 48.23 -0.45) color: lab(66.78 48.23 -0.45)
LCH lch(66.78 48.23 359.47) color: lch(66.78 48.23 359.47)

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 2.54:1
vs Black 8.27:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#BFBE9C — rgb(191, 190, 156)

Deuteranopia (Green-blind)

#C6CF99 — rgb(198, 207, 153)

Tritanopia (Blue-blind)

#EB9492 — rgb(235, 148, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 80%, 72%);

text

color: hsl(340, 80%, 72%);

border

border: 2px solid hsl(340, 80%, 72%);

gradient light

background: linear-gradient(to right, hsl(340, 80%, 92%), hsl(340, 80%, 72%));

gradient dark

background: linear-gradient(to right, hsl(340, 80%, 72%), hsl(340, 80%, 52%))

hex

background-color: #F17EA5;

tailwind

bg-[hsl(340,80%,72%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(340, 80%, 72%, 0.4);

css variable

--color-primary: hsl(340, 80%, 72%);

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(340, 80%, 72%)?

HEX: #F17EA5 | RGB: rgb(241, 126, 165) | CMYK: 0%, 48%, 32%, 5% | HSV: 340°, 48%, 95%. Copy any format from the conversion table above.

What colors go well with #F17EA5?

The complementary color is HSL(160, 80%, 72%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(340, 80%, 72%) in CSS?

As HSL: color: hsl(340, 80%, 72%); — As HEX: color: #F17EA5; — As RGB: color: rgb(241, 126, 165); — Tailwind CSS: bg-[hsl(340,80%,72%)] — CSS variable: --color-primary: hsl(340, 80%, 72%);