HSL(322, 90%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(322,90%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(322, 90%, 40%) color: hsl(322, 90%, 40%)
HEX #C20A7E color: #C20A7E
RGB rgb(194, 10, 126) color: rgb(194, 10, 126)
CMYK cmyk(0%, 95%, 35%, 24%)
HSV hsv(322, 95%, 76%)
HWB hwb(322 4% 24%) color: hwb(322 4% 24%)
OKLCH oklch(0.5384 0.22 350.77) color: oklch(0.5384 0.22 350.77)
Lab lab(43.06 70.53 -13.56) color: lab(43.06 70.53 -13.56)
LCH lch(43.06 71.82 349.12) color: lch(43.06 71.82 349.12)

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.77:1
vs Black 3.64: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)

#727162 — rgb(114, 113, 98)

Deuteranopia (Green-blind)

#7D8B5B — rgb(125, 139, 91)

Tritanopia (Blue-blind)

#B94C47 — rgb(185, 76, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(322, 90%, 40%);

text

color: hsl(322, 90%, 40%);

border

border: 2px solid hsl(322, 90%, 40%);

gradient light

background: linear-gradient(to right, hsl(322, 90%, 60%), hsl(322, 90%, 40%));

gradient dark

background: linear-gradient(to right, hsl(322, 90%, 40%), hsl(322, 90%, 20%))

hex

background-color: #C20A7E;

tailwind

bg-[hsl(322,90%,40%)]

box shadow

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

css variable

--color-primary: hsl(322, 90%, 40%);

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, 90%, 40%)?

HEX: #C20A7E | RGB: rgb(194, 10, 126) | CMYK: 0%, 95%, 35%, 24% | HSV: 322°, 95%, 76%. Copy any format from the conversion table above.

What colors go well with #C20A7E?

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

As HSL: color: hsl(322, 90%, 40%); — As HEX: color: #C20A7E; — As RGB: color: rgb(194, 10, 126); — Tailwind CSS: bg-[hsl(322,90%,40%)] — CSS variable: --color-primary: hsl(322, 90%, 40%);