HSL(340, 46%, 64%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,46%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 46%, 64%) color: hsl(340, 46%, 64%)
HEX #CD7995 color: #CD7995
RGB rgb(205, 121, 149) color: rgb(205, 121, 149)
CMYK cmyk(0%, 41%, 27%, 20%)
HSV hsv(340, 41%, 80%)
HWB hwb(340 47% 20%) color: hwb(340 47% 20%)
OKLCH oklch(0.6747 0.1095 359.04) color: oklch(0.6747 0.1095 359.04)
Lab lab(60.63 36.23 -0.88) color: lab(60.63 36.23 -0.88)
LCH lch(60.63 36.24 358.61) color: lch(60.63 36.24 358.61)

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 3.1:1
vs Black 6.76:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A9A88E — rgb(169, 168, 142)

Deuteranopia (Green-blind)

#AEB48D — rgb(174, 180, 141)

Tritanopia (Blue-blind)

#C98988 — rgb(201, 137, 136)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 46%, 64%);

text

color: hsl(340, 46%, 64%);

border

border: 2px solid hsl(340, 46%, 64%);

gradient light

background: linear-gradient(to right, hsl(340, 46%, 84%), hsl(340, 46%, 64%));

gradient dark

background: linear-gradient(to right, hsl(340, 46%, 64%), hsl(340, 46%, 44%))

hex

background-color: #CD7995;

tailwind

bg-[hsl(340,46%,64%)]

box shadow

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

css variable

--color-primary: hsl(340, 46%, 64%);

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

HEX: #CD7995 | RGB: rgb(205, 121, 149) | CMYK: 0%, 41%, 27%, 20% | HSV: 340°, 41%, 80%. Copy any format from the conversion table above.

What colors go well with #CD7995?

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

As HSL: color: hsl(340, 46%, 64%); — As HEX: color: #CD7995; — As RGB: color: rgb(205, 121, 149); — Tailwind CSS: bg-[hsl(340,46%,64%)] — CSS variable: --color-primary: hsl(340, 46%, 64%);