HSL(321, 72%, 46%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(321,72%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(321, 72%, 46%) color: hsl(321, 72%, 46%)
HEX #CA218F color: #CA218F
RGB rgb(202, 33, 143) color: rgb(202, 33, 143)
CMYK cmyk(0%, 84%, 29%, 21%)
HSV hsv(321, 84%, 79%)
HWB hwb(321 13% 21%) color: hwb(321 13% 21%)
OKLCH oklch(0.5681 0.221 347.17) color: oklch(0.5681 0.221 347.17)
Lab lab(46.49 70.57 -18.57) color: lab(46.49 70.57 -18.57)
LCH lch(46.49 72.97 345.26) color: lch(46.49 72.97 345.26)

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 5.09:1
vs Black 4.13: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)

#817F74 — rgb(129, 127, 116)

Deuteranopia (Green-blind)

#8B976E — rgb(139, 151, 110)

Tritanopia (Blue-blind)

#C25F5B — rgb(194, 95, 91)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(321, 72%, 46%);

text

color: hsl(321, 72%, 46%);

border

border: 2px solid hsl(321, 72%, 46%);

gradient light

background: linear-gradient(to right, hsl(321, 72%, 66%), hsl(321, 72%, 46%));

gradient dark

background: linear-gradient(to right, hsl(321, 72%, 46%), hsl(321, 72%, 26%))

hex

background-color: #CA218F;

tailwind

bg-[hsl(321,72%,46%)]

box shadow

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

css variable

--color-primary: hsl(321, 72%, 46%);

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(321, 72%, 46%)?

HEX: #CA218F | RGB: rgb(202, 33, 143) | CMYK: 0%, 84%, 29%, 21% | HSV: 321°, 84%, 79%. Copy any format from the conversion table above.

What colors go well with #CA218F?

The complementary color is HSL(141, 72%, 46%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(321, 72%, 46%) in CSS?

As HSL: color: hsl(321, 72%, 46%); — As HEX: color: #CA218F; — As RGB: color: rgb(202, 33, 143); — Tailwind CSS: bg-[hsl(321,72%,46%)] — CSS variable: --color-primary: hsl(321, 72%, 46%);