HSL(340, 20%, 82%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,20%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 20%, 82%) color: hsl(340, 20%, 82%)
HEX #DAC8CE color: #DAC8CE
RGB rgb(218, 200, 206) color: rgb(218, 200, 206)
CMYK cmyk(0%, 8%, 6%, 15%)
HSV hsv(340, 8%, 85%)
HWB hwb(340 78% 15%) color: hwb(340 78% 15%)
OKLCH oklch(0.8493 0.0217 355.31) color: oklch(0.8493 0.0217 355.31)
Lab lab(82.2 7.31 -0.71) color: lab(82.2 7.31 -0.71)
LCH lch(82.2 7.34 354.45) color: lch(82.2 7.34 354.45)

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 1.6:1
vs Black 13.13: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)

#D2D2CD — rgb(210, 210, 205)

Deuteranopia (Green-blind)

#D3D5CC — rgb(211, 213, 204)

Tritanopia (Blue-blind)

#D9CBCB — rgb(217, 203, 203)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 20%, 82%);

text

color: hsl(340, 20%, 82%);

border

border: 2px solid hsl(340, 20%, 82%);

gradient light

background: linear-gradient(to right, hsl(340, 20%, 100%), hsl(340, 20%, 82%));

gradient dark

background: linear-gradient(to right, hsl(340, 20%, 82%), hsl(340, 20%, 62%))

hex

background-color: #DAC8CE;

tailwind

bg-[hsl(340,20%,82%)]

box shadow

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

css variable

--color-primary: hsl(340, 20%, 82%);

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

HEX: #DAC8CE | RGB: rgb(218, 200, 206) | CMYK: 0%, 8%, 6%, 15% | HSV: 340°, 8%, 85%. Copy any format from the conversion table above.

What colors go well with #DAC8CE?

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

As HSL: color: hsl(340, 20%, 82%); — As HEX: color: #DAC8CE; — As RGB: color: rgb(218, 200, 206); — Tailwind CSS: bg-[hsl(340,20%,82%)] — CSS variable: --color-primary: hsl(340, 20%, 82%);