HSL(340, 40%, 72%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(340, 40%, 72%) color: hsl(340, 40%, 72%)
HEX #D49BAE color: #D49BAE
RGB rgb(212, 155, 174) color: rgb(212, 155, 174)
CMYK cmyk(0%, 27%, 18%, 17%)
HSV hsv(340, 27%, 83%)
HWB hwb(340 61% 17%) color: hwb(340 61% 17%)
OKLCH oklch(0.7491 0.0721 357.23) color: oklch(0.7491 0.0721 357.23)
Lab lab(69.82 24.09 -1.45) color: lab(69.82 24.09 -1.45)
LCH lch(69.82 24.13 356.56) color: lch(69.82 24.13 356.56)

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.31:1
vs Black 9.1: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)

#BBBBA9 — rgb(187, 187, 169)

Deuteranopia (Green-blind)

#BFC3A8 — rgb(191, 195, 168)

Tritanopia (Blue-blind)

#D1A6A5 — rgb(209, 166, 165)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #D49BAE;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(340, 40%, 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, 40%, 72%)?

HEX: #D49BAE | RGB: rgb(212, 155, 174) | CMYK: 0%, 27%, 18%, 17% | HSV: 340°, 27%, 83%. Copy any format from the conversion table above.

What colors go well with #D49BAE?

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

As HSL: color: hsl(340, 40%, 72%); — As HEX: color: #D49BAE; — As RGB: color: rgb(212, 155, 174); — Tailwind CSS: bg-[hsl(340,40%,72%)] — CSS variable: --color-primary: hsl(340, 40%, 72%);