HSL(331, 63%, 49%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,63%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 63%, 49%) color: hsl(331, 63%, 49%)
HEX #CC2E7A color: #CC2E7A
RGB rgb(204, 46, 122) color: rgb(204, 46, 122)
CMYK cmyk(0%, 77%, 40%, 20%)
HSV hsv(331, 77%, 80%)
HWB hwb(331 18% 20%) color: hwb(331 18% 20%)
OKLCH oklch(0.5717 0.2019 356.77) color: oklch(0.5717 0.2019 356.77)
Lab lab(47.24 65.55 -4.64) color: lab(47.24 65.55 -4.64)
LCH lch(47.24 65.71 355.95) color: lch(47.24 65.71 355.95)

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 4.95:1
vs Black 4.24:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#888668 — rgb(136, 134, 104)

Deuteranopia (Green-blind)

#919D63 — rgb(145, 157, 99)

Tritanopia (Blue-blind)

#C45956 — rgb(196, 89, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 63%, 49%);

text

color: hsl(331, 63%, 49%);

border

border: 2px solid hsl(331, 63%, 49%);

gradient light

background: linear-gradient(to right, hsl(331, 63%, 69%), hsl(331, 63%, 49%));

gradient dark

background: linear-gradient(to right, hsl(331, 63%, 49%), hsl(331, 63%, 29%))

hex

background-color: #CC2E7A;

tailwind

bg-[hsl(331,63%,49%)]

box shadow

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

css variable

--color-primary: hsl(331, 63%, 49%);

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, 63%, 49%)?

HEX: #CC2E7A | RGB: rgb(204, 46, 122) | CMYK: 0%, 77%, 40%, 20% | HSV: 331°, 77%, 80%. Copy any format from the conversion table above.

What colors go well with #CC2E7A?

The complementary color is HSL(151, 63%, 49%). 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, 63%, 49%) in CSS?

As HSL: color: hsl(331, 63%, 49%); — As HEX: color: #CC2E7A; — As RGB: color: rgb(204, 46, 122); — Tailwind CSS: bg-[hsl(331,63%,49%)] — CSS variable: --color-primary: hsl(331, 63%, 49%);