HSL(320, 90%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(320, 90%, 40%) color: hsl(320, 90%, 40%)
HEX #C20A85 color: #C20A85
RGB rgb(194, 10, 133) color: rgb(194, 10, 133)
CMYK cmyk(0%, 95%, 31%, 24%)
HSV hsv(320, 95%, 76%)
HWB hwb(320 4% 24%) color: hwb(320 4% 24%)
OKLCH oklch(0.5413 0.2234 348.13) color: oklch(0.5413 0.2234 348.13)
Lab lab(43.34 71.26 -17.44) color: lab(43.34 71.26 -17.44)
LCH lch(43.34 73.36 346.25) color: lch(43.34 73.36 346.25)

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.71:1
vs Black 3.68: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)

#727167 — rgb(114, 113, 103)

Deuteranopia (Green-blind)

#7D8B60 — rgb(125, 139, 96)

Tritanopia (Blue-blind)

#B9504B — rgb(185, 80, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #C20A85;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(320, 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(320, 90%, 40%)?

HEX: #C20A85 | RGB: rgb(194, 10, 133) | CMYK: 0%, 95%, 31%, 24% | HSV: 320°, 95%, 76%. Copy any format from the conversion table above.

What colors go well with #C20A85?

The complementary color is HSL(140, 90%, 40%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(320, 90%, 40%) in CSS?

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