HSL(322, 52%, 42%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(322, 52%, 42%) color: hsl(322, 52%, 42%)
HEX #A3337A color: #A3337A
RGB rgb(163, 51, 122) color: rgb(163, 51, 122)
CMYK cmyk(0%, 69%, 25%, 36%)
HSV hsv(322, 69%, 64%)
HWB hwb(322 20% 36%) color: hwb(322 20% 36%)
OKLCH oklch(0.5089 0.1648 345.57) color: oklch(0.5089 0.1648 345.57)
Lab lab(40.51 52.83 -15.49) color: lab(40.51 52.83 -15.49)
LCH lch(40.51 55.05 343.66) color: lch(40.51 55.05 343.66)

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.34:1
vs Black 3.31: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)

#737169 — rgb(115, 113, 105)

Deuteranopia (Green-blind)

#798165 — rgb(121, 129, 101)

Tritanopia (Blue-blind)

#9D5B58 — rgb(157, 91, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #A3337A;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(322, 52%, 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, 52%, 42%)?

HEX: #A3337A | RGB: rgb(163, 51, 122) | CMYK: 0%, 69%, 25%, 36% | HSV: 322°, 69%, 64%. Copy any format from the conversion table above.

What colors go well with #A3337A?

The complementary color is HSL(142, 52%, 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, 52%, 42%) in CSS?

As HSL: color: hsl(322, 52%, 42%); — As HEX: color: #A3337A; — As RGB: color: rgb(163, 51, 122); — Tailwind CSS: bg-[hsl(322,52%,42%)] — CSS variable: --color-primary: hsl(322, 52%, 42%);