HSL(327, 54%, 52%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(327,54%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(327, 54%, 52%) color: hsl(327, 54%, 52%)
HEX #C7438B color: #C7438B
RGB rgb(199, 67, 139) color: rgb(199, 67, 139)
CMYK cmyk(0%, 66%, 30%, 22%)
HSV hsv(327, 66%, 78%)
HWB hwb(327 27% 22%) color: hwb(327 27% 22%)
OKLCH oklch(0.5888 0.1817 350.44) color: oklch(0.5888 0.1817 350.44)
Lab lab(49.52 58.84 -11.59) color: lab(49.52 58.84 -11.59)
LCH lch(49.52 59.97 348.86) color: lch(49.52 59.97 348.86)

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.56:1
vs Black 4.6:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#8E8D7A — rgb(142, 141, 122)

Deuteranopia (Green-blind)

#969F75 — rgb(150, 159, 117)

Tritanopia (Blue-blind)

#C06C69 — rgb(192, 108, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(327, 54%, 52%);

text

color: hsl(327, 54%, 52%);

border

border: 2px solid hsl(327, 54%, 52%);

gradient light

background: linear-gradient(to right, hsl(327, 54%, 72%), hsl(327, 54%, 52%));

gradient dark

background: linear-gradient(to right, hsl(327, 54%, 52%), hsl(327, 54%, 32%))

hex

background-color: #C7438B;

tailwind

bg-[hsl(327,54%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(327, 54%, 52%, 0.4);

css variable

--color-primary: hsl(327, 54%, 52%);

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(327, 54%, 52%)?

HEX: #C7438B | RGB: rgb(199, 67, 139) | CMYK: 0%, 66%, 30%, 22% | HSV: 327°, 66%, 78%. Copy any format from the conversion table above.

What colors go well with #C7438B?

The complementary color is HSL(147, 54%, 52%). For a triadic harmony, use hues 327°, 87°, and 207°. For analogous combinations, try hues 297° and 357°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(327, 54%, 52%) in CSS?

As HSL: color: hsl(327, 54%, 52%); — As HEX: color: #C7438B; — As RGB: color: rgb(199, 67, 139); — Tailwind CSS: bg-[hsl(327,54%,52%)] — CSS variable: --color-primary: hsl(327, 54%, 52%);