HSL(340, 80%, 71%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(340, 80%, 71%) color: hsl(340, 80%, 71%)
HEX #F07AA1 color: #F07AA1
RGB rgb(240, 122, 161) color: rgb(240, 122, 161)
CMYK cmyk(0%, 49%, 33%, 6%)
HSV hsv(340, 49%, 94%)
HWB hwb(340 48% 6%) color: hwb(340 48% 6%)
OKLCH oklch(0.7243 0.15 0.56) color: oklch(0.7243 0.15 0.56)
Lab lab(65.77 49.38 0.32) color: lab(65.77 49.38 0.32)
LCH lch(65.77 49.38 0.37) color: lch(65.77 49.38 0.37)

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.62:1
vs Black 8: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)

#BDBC98 — rgb(189, 188, 152)

Deuteranopia (Green-blind)

#C4CD95 — rgb(196, 205, 149)

Tritanopia (Blue-blind)

#EA908E — rgb(234, 144, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(340, 80%, 91%), hsl(340, 80%, 71%));

gradient dark

background: linear-gradient(to right, hsl(340, 80%, 71%), hsl(340, 80%, 51%))

hex

background-color: #F07AA1;

tailwind

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

box shadow

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

css variable

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

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

HEX: #F07AA1 | RGB: rgb(240, 122, 161) | CMYK: 0%, 49%, 33%, 6% | HSV: 340°, 49%, 94%. Copy any format from the conversion table above.

What colors go well with #F07AA1?

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

As HSL: color: hsl(340, 80%, 71%); — As HEX: color: #F07AA1; — As RGB: color: rgb(240, 122, 161); — Tailwind CSS: bg-[hsl(340,80%,71%)] — CSS variable: --color-primary: hsl(340, 80%, 71%);