HSL(343, 40%, 74%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(343,40%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(343, 40%, 74%) color: hsl(343, 40%, 74%)
HEX #D7A2B1 color: #D7A2B1
RGB rgb(215, 162, 177) color: rgb(215, 162, 177)
CMYK cmyk(0%, 25%, 18%, 16%)
HSV hsv(343, 25%, 84%)
HWB hwb(343 63% 16%) color: hwb(343 63% 16%)
OKLCH oklch(0.7659 0.0655 0.09) color: oklch(0.7659 0.0655 0.09)
Lab lab(71.87 21.85 -0.08) color: lab(71.87 21.85 -0.08)
LCH lch(71.87 21.85 359.79) color: lch(71.87 21.85 359.79)

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.17:1
vs Black 9.69: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)

#C0C0AD — rgb(192, 192, 173)

Deuteranopia (Green-blind)

#C3C7AD — rgb(195, 199, 173)

Tritanopia (Blue-blind)

#D4ABAA — rgb(212, 171, 170)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(343, 40%, 74%);

text

color: hsl(343, 40%, 74%);

border

border: 2px solid hsl(343, 40%, 74%);

gradient light

background: linear-gradient(to right, hsl(343, 40%, 94%), hsl(343, 40%, 74%));

gradient dark

background: linear-gradient(to right, hsl(343, 40%, 74%), hsl(343, 40%, 54%))

hex

background-color: #D7A2B1;

tailwind

bg-[hsl(343,40%,74%)]

box shadow

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

css variable

--color-primary: hsl(343, 40%, 74%);

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(343, 40%, 74%)?

HEX: #D7A2B1 | RGB: rgb(215, 162, 177) | CMYK: 0%, 25%, 18%, 16% | HSV: 343°, 25%, 84%. Copy any format from the conversion table above.

What colors go well with #D7A2B1?

The complementary color is HSL(163, 40%, 74%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(343, 40%, 74%) in CSS?

As HSL: color: hsl(343, 40%, 74%); — As HEX: color: #D7A2B1; — As RGB: color: rgb(215, 162, 177); — Tailwind CSS: bg-[hsl(343,40%,74%)] — CSS variable: --color-primary: hsl(343, 40%, 74%);