HSL(331, 45%, 62%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,45%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 45%, 62%) color: hsl(331, 45%, 62%)
HEX #CA729D color: #CA729D
RGB rgb(202, 114, 157) color: rgb(202, 114, 157)
CMYK cmyk(0%, 44%, 22%, 21%)
HSV hsv(331, 44%, 79%)
HWB hwb(331 44% 21%) color: hwb(331 44% 21%)
OKLCH oklch(0.6624 0.1217 350.26) color: oklch(0.6624 0.1217 350.26)
Lab lab(59 40.02 -7.94) color: lab(59 40.02 -7.94)
LCH lch(59 40.8 348.78) color: lch(59 40.8 348.78)

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.28:1
vs Black 6.41: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)

#A4A393 — rgb(164, 163, 147)

Deuteranopia (Green-blind)

#A9B090 — rgb(169, 176, 144)

Tritanopia (Blue-blind)

#C68A89 — rgb(198, 138, 137)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 45%, 62%);

text

color: hsl(331, 45%, 62%);

border

border: 2px solid hsl(331, 45%, 62%);

gradient light

background: linear-gradient(to right, hsl(331, 45%, 82%), hsl(331, 45%, 62%));

gradient dark

background: linear-gradient(to right, hsl(331, 45%, 62%), hsl(331, 45%, 42%))

hex

background-color: #CA729D;

tailwind

bg-[hsl(331,45%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(331, 45%, 62%, 0.4);

css variable

--color-primary: hsl(331, 45%, 62%);

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(331, 45%, 62%)?

HEX: #CA729D | RGB: rgb(202, 114, 157) | CMYK: 0%, 44%, 22%, 21% | HSV: 331°, 44%, 79%. Copy any format from the conversion table above.

What colors go well with #CA729D?

The complementary color is HSL(151, 45%, 62%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(331, 45%, 62%) in CSS?

As HSL: color: hsl(331, 45%, 62%); — As HEX: color: #CA729D; — As RGB: color: rgb(202, 114, 157); — Tailwind CSS: bg-[hsl(331,45%,62%)] — CSS variable: --color-primary: hsl(331, 45%, 62%);