HSL(322, 63%, 42%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(322,63%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(322, 63%, 42%) color: hsl(322, 63%, 42%)
HEX #AF287D color: #AF287D
RGB rgb(175, 40, 125) color: rgb(175, 40, 125)
CMYK cmyk(0%, 77%, 29%, 31%)
HSV hsv(322, 77%, 69%)
HWB hwb(322 16% 31%) color: hwb(322 16% 31%)
OKLCH oklch(0.5198 0.1882 347.19) color: oklch(0.5198 0.1882 347.19)
Lab lab(41.4 60.24 -15.8) color: lab(41.4 60.24 -15.8)
LCH lch(41.4 62.28 345.3) color: lch(41.4 62.28 345.3)

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 6.14:1
vs Black 3.42: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)

#757368 — rgb(117, 115, 104)

Deuteranopia (Green-blind)

#7C8764 — rgb(124, 135, 100)

Tritanopia (Blue-blind)

#A85855 — rgb(168, 88, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(322, 63%, 42%);

text

color: hsl(322, 63%, 42%);

border

border: 2px solid hsl(322, 63%, 42%);

gradient light

background: linear-gradient(to right, hsl(322, 63%, 62%), hsl(322, 63%, 42%));

gradient dark

background: linear-gradient(to right, hsl(322, 63%, 42%), hsl(322, 63%, 22%))

hex

background-color: #AF287D;

tailwind

bg-[hsl(322,63%,42%)]

box shadow

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

css variable

--color-primary: hsl(322, 63%, 42%);

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(322, 63%, 42%)?

HEX: #AF287D | RGB: rgb(175, 40, 125) | CMYK: 0%, 77%, 29%, 31% | HSV: 322°, 77%, 69%. Copy any format from the conversion table above.

What colors go well with #AF287D?

The complementary color is HSL(142, 63%, 42%). For a triadic harmony, use hues 322°, 82°, and 202°. For analogous combinations, try hues 292° and 352°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(322, 63%, 42%) in CSS?

As HSL: color: hsl(322, 63%, 42%); — As HEX: color: #AF287D; — As RGB: color: rgb(175, 40, 125); — Tailwind CSS: bg-[hsl(322,63%,42%)] — CSS variable: --color-primary: hsl(322, 63%, 42%);